Class CreateRepositoryRequest.Builder

    • Method Detail

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

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

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

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.v1alpha2.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.v1alpha2.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.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
      • setRepository

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

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

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

        public Repository.Builder getRepositoryBuilder()
         Required. The repository to create.
         
        .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
      • 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.
      • setUnknownFields

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

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