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()
Methods
public Repository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Repository build()
public Repository buildPartial()
public Repository.Builder clear()
Overrides
public Repository.Builder clearField(Descriptors.FieldDescriptor field)
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];
public Repository.Builder clearName()
Output only. The repository's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Repository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Repository.Builder clone()
Overrides
public Repository getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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 |
Type |
Description |
ByteString |
The bytes for name.
|
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()
Overrides
public final boolean isInitialized()
Overrides
public Repository.Builder mergeFrom(Repository other)
public Repository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Repository.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
public final Repository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Repository.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
public Repository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Repository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides