Class CreateRepositoryRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateRepositoryRequest.Builder>
com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.Builder
All Implemented Interfaces:
CreateRepositoryRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateRepositoryRequest

public static final class CreateRepositoryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateRepositoryRequest.Builder> implements CreateRepositoryRequestOrBuilder
 `CreateRepository` request message.
 
Protobuf type google.cloud.dataform.v1beta1.CreateRepositoryRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateRepositoryRequest.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.GeneratedMessage.Builder<CreateRepositoryRequest.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.GeneratedMessage.Builder<CreateRepositoryRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public CreateRepositoryRequest.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<CreateRepositoryRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public CreateRepositoryRequest.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<CreateRepositoryRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The location in which to create the repository. Must be in the
       format `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateRepositoryRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The location in which to create the repository. Must be in the
       format `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateRepositoryRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateRepositoryRequest.Builder setParent(String value)
       Required. The location in which to create the repository. Must be in the
       format `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateRepositoryRequest.Builder clearParent()
       Required. The location in which to create the repository. Must be in the
       format `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateRepositoryRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The location in which to create the repository. Must be in the
       format `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasRepository

      public boolean hasRepository()
       Required. The repository to create.
       
      .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRepository in interface CreateRepositoryRequestOrBuilder
      Returns:
      Whether the repository field is set.
    • getRepository

      public Repository getRepository()
       Required. The repository to create.
       
      .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRepository in interface CreateRepositoryRequestOrBuilder
      Returns:
      The repository.
    • setRepository

      public CreateRepositoryRequest.Builder setRepository(Repository value)
       Required. The repository to create.
       
      .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
    • setRepository

      public CreateRepositoryRequest.Builder setRepository(Repository.Builder builderForValue)
       Required. The repository to create.
       
      .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeRepository

      public CreateRepositoryRequest.Builder mergeRepository(Repository value)
       Required. The repository to create.
       
      .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearRepository

      public CreateRepositoryRequest.Builder clearRepository()
       Required. The repository to create.
       
      .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRepositoryBuilder

      public Repository.Builder getRepositoryBuilder()
       Required. The repository to create.
       
      .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRepositoryOrBuilder

      public RepositoryOrBuilder getRepositoryOrBuilder()
       Required. The repository to create.
       
      .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRepositoryOrBuilder in interface CreateRepositoryRequestOrBuilder
    • getRepositoryId

      public String getRepositoryId()
       Required. The ID to use for the repository, which will become the final
       component of the repository's resource name.
       
      string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRepositoryId in interface CreateRepositoryRequestOrBuilder
      Returns:
      The repositoryId.
    • getRepositoryIdBytes

      public com.google.protobuf.ByteString getRepositoryIdBytes()
       Required. The ID to use for the repository, which will become the final
       component of the repository's resource name.
       
      string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRepositoryIdBytes in interface CreateRepositoryRequestOrBuilder
      Returns:
      The bytes for repositoryId.
    • setRepositoryId

      public CreateRepositoryRequest.Builder setRepositoryId(String value)
       Required. The ID to use for the repository, which will become the final
       component of the repository's resource name.
       
      string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The repositoryId to set.
      Returns:
      This builder for chaining.
    • clearRepositoryId

      public CreateRepositoryRequest.Builder clearRepositoryId()
       Required. The ID to use for the repository, which will become the final
       component of the repository's resource name.
       
      string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setRepositoryIdBytes

      public CreateRepositoryRequest.Builder setRepositoryIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the repository, which will become the final
       component of the repository's resource name.
       
      string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for repositoryId to set.
      Returns:
      This builder for chaining.