Class CreateProjectRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
com.buildless.service.v1.CreateProjectRequest.Builder
All Implemented Interfaces:
CreateProjectRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateProjectRequest

public static final class CreateProjectRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder> implements CreateProjectRequestOrBuilder
 ### Create Project: Request

 Specifies the structure of a request to create a new Buildless project.
 
Protobuf type buildless.service.v1.CreateProjectRequest
  • Method Details

    • 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.Builder<CreateProjectRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • getDefaultInstanceForType

      public CreateProjectRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CreateProjectRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateProjectRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • setField

      public CreateProjectRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • clearField

      public CreateProjectRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • clearOneof

      public CreateProjectRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • setRepeatedField

      public CreateProjectRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • addRepeatedField

      public CreateProjectRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • mergeFrom

      public CreateProjectRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateProjectRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • mergeFrom

      public CreateProjectRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateProjectRequest.Builder>
      Throws:
      IOException
    • getDry

      public boolean getDry()
       Specifies that this request should not actually be persisted, but should be validated instead. This is useful for
       verifying that a project can be created without actually creating it, during a pre-flight step.
       
      bool dry = 1 [json_name = "dry", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDry in interface CreateProjectRequestOrBuilder
      Returns:
      The dry.
    • setDry

      public CreateProjectRequest.Builder setDry(boolean value)
       Specifies that this request should not actually be persisted, but should be validated instead. This is useful for
       verifying that a project can be created without actually creating it, during a pre-flight step.
       
      bool dry = 1 [json_name = "dry", (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The dry to set.
      Returns:
      This builder for chaining.
    • clearDry

      public CreateProjectRequest.Builder clearDry()
       Specifies that this request should not actually be persisted, but should be validated instead. This is useful for
       verifying that a project can be created without actually creating it, during a pre-flight step.
       
      bool dry = 1 [json_name = "dry", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasProject

      public boolean hasProject()
       Specifies the project to be created. This field is required. A "draft" project holds the fields which are required
       (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting
       project is returned to the client.
       
      .buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      hasProject in interface CreateProjectRequestOrBuilder
      Returns:
      Whether the project field is set.
    • getProject

      public Project.Draft getProject()
       Specifies the project to be created. This field is required. A "draft" project holds the fields which are required
       (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting
       project is returned to the client.
       
      .buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      getProject in interface CreateProjectRequestOrBuilder
      Returns:
      The project.
    • setProject

      public CreateProjectRequest.Builder setProject(Project.Draft value)
       Specifies the project to be created. This field is required. A "draft" project holds the fields which are required
       (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting
       project is returned to the client.
       
      .buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
    • setProject

      public CreateProjectRequest.Builder setProject(Project.Draft.Builder builderForValue)
       Specifies the project to be created. This field is required. A "draft" project holds the fields which are required
       (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting
       project is returned to the client.
       
      .buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
    • mergeProject

      public CreateProjectRequest.Builder mergeProject(Project.Draft value)
       Specifies the project to be created. This field is required. A "draft" project holds the fields which are required
       (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting
       project is returned to the client.
       
      .buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
    • clearProject

      public CreateProjectRequest.Builder clearProject()
       Specifies the project to be created. This field is required. A "draft" project holds the fields which are required
       (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting
       project is returned to the client.
       
      .buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
    • getProjectBuilder

      public Project.Draft.Builder getProjectBuilder()
       Specifies the project to be created. This field is required. A "draft" project holds the fields which are required
       (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting
       project is returned to the client.
       
      .buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
    • getProjectOrBuilder

      public Project.DraftOrBuilder getProjectOrBuilder()
       Specifies the project to be created. This field is required. A "draft" project holds the fields which are required
       (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting
       project is returned to the client.
       
      .buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
      Specified by:
      getProjectOrBuilder in interface CreateProjectRequestOrBuilder
    • getIdempotencyKey

      public String getIdempotencyKey()
       Specifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or
       CLI for a single project creation flow. It is not required.
       
      string idempotency_key = 3 [json_name = "idempotencyKey", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdempotencyKey in interface CreateProjectRequestOrBuilder
      Returns:
      The idempotencyKey.
    • getIdempotencyKeyBytes

      public com.google.protobuf.ByteString getIdempotencyKeyBytes()
       Specifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or
       CLI for a single project creation flow. It is not required.
       
      string idempotency_key = 3 [json_name = "idempotencyKey", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdempotencyKeyBytes in interface CreateProjectRequestOrBuilder
      Returns:
      The bytes for idempotencyKey.
    • setIdempotencyKey

      public CreateProjectRequest.Builder setIdempotencyKey(String value)
       Specifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or
       CLI for a single project creation flow. It is not required.
       
      string idempotency_key = 3 [json_name = "idempotencyKey", (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The idempotencyKey to set.
      Returns:
      This builder for chaining.
    • clearIdempotencyKey

      public CreateProjectRequest.Builder clearIdempotencyKey()
       Specifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or
       CLI for a single project creation flow. It is not required.
       
      string idempotency_key = 3 [json_name = "idempotencyKey", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setIdempotencyKeyBytes

      public CreateProjectRequest.Builder setIdempotencyKeyBytes(com.google.protobuf.ByteString value)
       Specifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or
       CLI for a single project creation flow. It is not required.
       
      string idempotency_key = 3 [json_name = "idempotencyKey", (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for idempotencyKey to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final CreateProjectRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
    • mergeUnknownFields

      public final CreateProjectRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>