Class Repository.Builder (0.2.1)

public static final class Repository.Builder extends GeneratedMessageV3.Builder<Repository.Builder> implements RepositoryOrBuilder

Represents a Dataform Git repository.

Protobuf type google.cloud.dataform.v1alpha2.Repository

Implements

RepositoryOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Repository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Repository.Builder
Overrides

build()

public Repository build()
Returns
TypeDescription
Repository

buildPartial()

public Repository buildPartial()
Returns
TypeDescription
Repository

clear()

public Repository.Builder clear()
Returns
TypeDescription
Repository.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Repository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Repository.Builder
Overrides

clearGitRemoteSettings()

public Repository.Builder clearGitRemoteSettings()

Optional. If set, configures this repository to be linked to a Git remote.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Repository.Builder

clearName()

public Repository.Builder clearName()

Output only. The repository's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Repository.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Repository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Repository.Builder
Overrides

clone()

public Repository.Builder clone()
Returns
TypeDescription
Repository.Builder
Overrides

getDefaultInstanceForType()

public Repository getDefaultInstanceForType()
Returns
TypeDescription
Repository

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGitRemoteSettings()

public Repository.GitRemoteSettings getGitRemoteSettings()

Optional. If set, configures this repository to be linked to a Git remote.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Repository.GitRemoteSettings

The gitRemoteSettings.

getGitRemoteSettingsBuilder()

public Repository.GitRemoteSettings.Builder getGitRemoteSettingsBuilder()

Optional. If set, configures this repository to be linked to a Git remote.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Repository.GitRemoteSettings.Builder

getGitRemoteSettingsOrBuilder()

public Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder()

Optional. If set, configures this repository to be linked to a Git remote.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Repository.GitRemoteSettingsOrBuilder

getName()

public String getName()

Output only. The repository's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The repository's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

hasGitRemoteSettings()

public boolean hasGitRemoteSettings()

Optional. If set, configures this repository to be linked to a Git remote.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the gitRemoteSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Repository other)

public Repository.Builder mergeFrom(Repository other)
Parameter
NameDescription
otherRepository
Returns
TypeDescription
Repository.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Repository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Repository.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Repository.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Repository.Builder
Overrides

mergeGitRemoteSettings(Repository.GitRemoteSettings value)

public Repository.Builder mergeGitRemoteSettings(Repository.GitRemoteSettings value)

Optional. If set, configures this repository to be linked to a Git remote.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueRepository.GitRemoteSettings
Returns
TypeDescription
Repository.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Repository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Repository.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Repository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Repository.Builder
Overrides

setGitRemoteSettings(Repository.GitRemoteSettings value)

public Repository.Builder setGitRemoteSettings(Repository.GitRemoteSettings value)

Optional. If set, configures this repository to be linked to a Git remote.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueRepository.GitRemoteSettings
Returns
TypeDescription
Repository.Builder

setGitRemoteSettings(Repository.GitRemoteSettings.Builder builderForValue)

public Repository.Builder setGitRemoteSettings(Repository.GitRemoteSettings.Builder builderForValue)

Optional. If set, configures this repository to be linked to a Git remote.

.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueRepository.GitRemoteSettings.Builder
Returns
TypeDescription
Repository.Builder

setName(String value)

public Repository.Builder setName(String value)

Output only. The repository's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Repository.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Repository.Builder setNameBytes(ByteString value)

Output only. The repository's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Repository.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Repository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Repository.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Repository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Repository.Builder
Overrides