Class ProjectCreateAdviceResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.service.v1.ProjectCreateAdviceResponse
All Implemented Interfaces:
ProjectCreateAdviceResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class ProjectCreateAdviceResponse extends com.google.protobuf.GeneratedMessageV3 implements ProjectCreateAdviceResponseOrBuilder
 ### Create Project Advice: Response

 Specifies the shape of advice provided to the frontend about available scopes for project creation, and the impact of
 creating a project on quota.
 
Protobuf type buildless.service.v1.ProjectCreateAdviceResponse
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasSelf

      public boolean hasSelf()
       Specifies project scope info for the user's individual account, as applicable.
       
      .buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope self = 1 [json_name = "self", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSelf in interface ProjectCreateAdviceResponseOrBuilder
      Returns:
      Whether the self field is set.
    • getSelf

       Specifies project scope info for the user's individual account, as applicable.
       
      .buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope self = 1 [json_name = "self", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSelf in interface ProjectCreateAdviceResponseOrBuilder
      Returns:
      The self.
    • getSelfOrBuilder

       Specifies project scope info for the user's individual account, as applicable.
       
      .buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope self = 1 [json_name = "self", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSelfOrBuilder in interface ProjectCreateAdviceResponseOrBuilder
    • getTenantList

       Specifies project scope info for each eligible tenant which the user has access to, and which the user has been
       granted permissions to create projects in.
       
      repeated .buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope tenant = 2 [json_name = "tenant", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getTenantList in interface ProjectCreateAdviceResponseOrBuilder
    • getTenantOrBuilderList

      public List<? extends ProjectCreateAdviceResponse.ProjectScopeOrBuilder> getTenantOrBuilderList()
       Specifies project scope info for each eligible tenant which the user has access to, and which the user has been
       granted permissions to create projects in.
       
      repeated .buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope tenant = 2 [json_name = "tenant", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getTenantOrBuilderList in interface ProjectCreateAdviceResponseOrBuilder
    • getTenantCount

      public int getTenantCount()
       Specifies project scope info for each eligible tenant which the user has access to, and which the user has been
       granted permissions to create projects in.
       
      repeated .buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope tenant = 2 [json_name = "tenant", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getTenantCount in interface ProjectCreateAdviceResponseOrBuilder
    • getTenant

      public ProjectCreateAdviceResponse.ProjectScope getTenant(int index)
       Specifies project scope info for each eligible tenant which the user has access to, and which the user has been
       granted permissions to create projects in.
       
      repeated .buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope tenant = 2 [json_name = "tenant", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getTenant in interface ProjectCreateAdviceResponseOrBuilder
    • getTenantOrBuilder

      public ProjectCreateAdviceResponse.ProjectScopeOrBuilder getTenantOrBuilder(int index)
       Specifies project scope info for each eligible tenant which the user has access to, and which the user has been
       granted permissions to create projects in.
       
      repeated .buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope tenant = 2 [json_name = "tenant", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getTenantOrBuilder in interface ProjectCreateAdviceResponseOrBuilder
    • getAllow

      public boolean getAllow()
       Whether to allow the creation of projects at all.
       
      bool allow = 3 [json_name = "allow", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllow in interface ProjectCreateAdviceResponseOrBuilder
      Returns:
      The allow.
    • getReason

      public String getReason()
       Specifies the reason why project creation is not allowed, as applicable.
       
      string reason = 4 [json_name = "reason", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReason in interface ProjectCreateAdviceResponseOrBuilder
      Returns:
      The reason.
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       Specifies the reason why project creation is not allowed, as applicable.
       
      string reason = 4 [json_name = "reason", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReasonBytes in interface ProjectCreateAdviceResponseOrBuilder
      Returns:
      The bytes for reason.
    • hasSuggested

      public boolean hasSuggested()
       Suggested name for the project, generated by the server.
       
      .buildless.service.v1.GeneratedProjectName suggested = 5 [json_name = "suggested", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSuggested in interface ProjectCreateAdviceResponseOrBuilder
      Returns:
      Whether the suggested field is set.
    • getSuggested

      public GeneratedProjectName getSuggested()
       Suggested name for the project, generated by the server.
       
      .buildless.service.v1.GeneratedProjectName suggested = 5 [json_name = "suggested", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuggested in interface ProjectCreateAdviceResponseOrBuilder
      Returns:
      The suggested.
    • getSuggestedOrBuilder

      public GeneratedProjectNameOrBuilder getSuggestedOrBuilder()
       Suggested name for the project, generated by the server.
       
      .buildless.service.v1.GeneratedProjectName suggested = 5 [json_name = "suggested", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuggestedOrBuilder in interface ProjectCreateAdviceResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProjectCreateAdviceResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProjectCreateAdviceResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProjectCreateAdviceResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ProjectCreateAdviceResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ProjectCreateAdviceResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ProjectCreateAdviceResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ProjectCreateAdviceResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ProjectCreateAdviceResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<ProjectCreateAdviceResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ProjectCreateAdviceResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder