public static final class Repository.Builder extends GeneratedMessageV3.Builder<Repository.Builder> implements RepositoryOrBuilder
Represents a Dataform Git repository.
Protobuf type google.cloud.dataform.v1beta1.Repository
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Repository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Repository build()
Returns
public Repository buildPartial()
Returns
public Repository.Builder clear()
Returns
Overrides
public Repository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Repository.Builder clearGitRemoteSettings()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public Repository.Builder clearName()
Output only. The repository's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Repository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Repository.Builder clone()
Returns
Overrides
public Repository getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Repository.GitRemoteSettings getGitRemoteSettings()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public Repository.GitRemoteSettings.Builder getGitRemoteSettingsBuilder()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Output only. The repository's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Output only. The repository's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public boolean hasGitRemoteSettings()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
Whether the gitRemoteSettings field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Repository.Builder mergeFrom(Repository other)
Parameter
Returns
public Repository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Repository.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public Repository.Builder mergeGitRemoteSettings(Repository.GitRemoteSettings value)
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
public final Repository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Repository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Repository.Builder setGitRemoteSettings(Repository.GitRemoteSettings value)
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
public Repository.Builder setGitRemoteSettings(Repository.GitRemoteSettings.Builder builderForValue)
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
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
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
public Repository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Repository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides