Class Repository.Builder (0.48.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Repository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Repository.Builder
Overrides

build()

public Repository build()
Returns
Type Description
Repository

buildPartial()

public Repository buildPartial()
Returns
Type Description
Repository

clear()

public Repository.Builder clear()
Returns
Type Description
Repository.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Repository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Repository.Builder

clearName()

public Repository.Builder clearName()

Output only. The repository's name.

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

Returns
Type Description
Repository.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Repository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Repository.Builder
Overrides

clone()

public Repository.Builder clone()
Returns
Type Description
Repository.Builder
Overrides

getDefaultInstanceForType()

public Repository getDefaultInstanceForType()
Returns
Type Description
Repository

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
Repository.GitRemoteSettingsOrBuilder

getName()

public String getName()

Output only. The repository's name.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The repository's name.

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

Returns
Type Description
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
Type Description
boolean

Whether the gitRemoteSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Repository other)

public Repository.Builder mergeFrom(Repository other)
Parameter
Name Description
other Repository
Returns
Type Description
Repository.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Repository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Repository.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Repository.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Repository.GitRemoteSettings
Returns
Type Description
Repository.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Repository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Repository.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Repository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Repository.GitRemoteSettings
Returns
Type Description
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
Name Description
builderForValue Repository.GitRemoteSettings.Builder
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Repository.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Repository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Repository.Builder
Overrides