public static final class Repository.GitRemoteSettings.Builder extends GeneratedMessageV3.Builder<Repository.GitRemoteSettings.Builder> implements Repository.GitRemoteSettingsOrBuilderControls Git remote configuration for a repository.
Protobuf type google.cloud.dataform.v1beta1.Repository.GitRemoteSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Repository.GitRemoteSettings.BuilderImplements
Repository.GitRemoteSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Repository.GitRemoteSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
build()
public Repository.GitRemoteSettings build()| Type | Description |
| Repository.GitRemoteSettings |
buildPartial()
public Repository.GitRemoteSettings buildPartial()| Type | Description |
| Repository.GitRemoteSettings |
clear()
public Repository.GitRemoteSettings.Builder clear()| Type | Description |
| Repository.GitRemoteSettings.Builder |
clearAuthenticationTokenSecretVersion()
public Repository.GitRemoteSettings.Builder clearAuthenticationTokenSecretVersion() Required. The name of the Secret Manager secret version to use as an
authentication token for Git operations. Must be in the format
projects/*/secrets/*/versions/*.
string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
clearDefaultBranch()
public Repository.GitRemoteSettings.Builder clearDefaultBranch()Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Repository.GitRemoteSettings.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Repository.GitRemoteSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
clearTokenStatus()
public Repository.GitRemoteSettings.Builder clearTokenStatus()Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
clearUrl()
public Repository.GitRemoteSettings.Builder clearUrl()Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
clone()
public Repository.GitRemoteSettings.Builder clone()| Type | Description |
| Repository.GitRemoteSettings.Builder |
getAuthenticationTokenSecretVersion()
public String getAuthenticationTokenSecretVersion() Required. The name of the Secret Manager secret version to use as an
authentication token for Git operations. Must be in the format
projects/*/secrets/*/versions/*.
string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| String | The authenticationTokenSecretVersion. |
getAuthenticationTokenSecretVersionBytes()
public ByteString getAuthenticationTokenSecretVersionBytes() Required. The name of the Secret Manager secret version to use as an
authentication token for Git operations. Must be in the format
projects/*/secrets/*/versions/*.
string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| ByteString | The bytes for authenticationTokenSecretVersion. |
getDefaultBranch()
public String getDefaultBranch()Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The defaultBranch. |
getDefaultBranchBytes()
public ByteString getDefaultBranchBytes()Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for defaultBranch. |
getDefaultInstanceForType()
public Repository.GitRemoteSettings getDefaultInstanceForType()| Type | Description |
| Repository.GitRemoteSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getTokenStatus()
public Repository.GitRemoteSettings.TokenStatus getTokenStatus()Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Repository.GitRemoteSettings.TokenStatus | The tokenStatus. |
getTokenStatusValue()
public int getTokenStatusValue()Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| int | The enum numeric value on the wire for tokenStatus. |
getUrl()
public String getUrl()Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The url. |
getUrlBytes()
public ByteString getUrlBytes()Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for url. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(Repository.GitRemoteSettings other)
public Repository.GitRemoteSettings.Builder mergeFrom(Repository.GitRemoteSettings other)| Name | Description |
| other | Repository.GitRemoteSettings |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Repository.GitRemoteSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Repository.GitRemoteSettings.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Repository.GitRemoteSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
setAuthenticationTokenSecretVersion(String value)
public Repository.GitRemoteSettings.Builder setAuthenticationTokenSecretVersion(String value) Required. The name of the Secret Manager secret version to use as an
authentication token for Git operations. Must be in the format
projects/*/secrets/*/versions/*.
string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | StringThe authenticationTokenSecretVersion to set. |
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
setAuthenticationTokenSecretVersionBytes(ByteString value)
public Repository.GitRemoteSettings.Builder setAuthenticationTokenSecretVersionBytes(ByteString value) Required. The name of the Secret Manager secret version to use as an
authentication token for Git operations. Must be in the format
projects/*/secrets/*/versions/*.
string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | ByteStringThe bytes for authenticationTokenSecretVersion to set. |
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
setDefaultBranch(String value)
public Repository.GitRemoteSettings.Builder setDefaultBranch(String value)Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe defaultBranch to set. |
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
setDefaultBranchBytes(ByteString value)
public Repository.GitRemoteSettings.Builder setDefaultBranchBytes(ByteString value)Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ByteStringThe bytes for defaultBranch to set. |
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Repository.GitRemoteSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Repository.GitRemoteSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
setTokenStatus(Repository.GitRemoteSettings.TokenStatus value)
public Repository.GitRemoteSettings.Builder setTokenStatus(Repository.GitRemoteSettings.TokenStatus value)Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Repository.GitRemoteSettings.TokenStatusThe tokenStatus to set. |
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
setTokenStatusValue(int value)
public Repository.GitRemoteSettings.Builder setTokenStatusValue(int value)Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | intThe enum numeric value on the wire for tokenStatus to set. |
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Repository.GitRemoteSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Repository.GitRemoteSettings.Builder |
setUrl(String value)
public Repository.GitRemoteSettings.Builder setUrl(String value)Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe url to set. |
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |
setUrlBytes(ByteString value)
public Repository.GitRemoteSettings.Builder setUrlBytes(ByteString value)Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ByteStringThe bytes for url to set. |
| Type | Description |
| Repository.GitRemoteSettings.Builder | This builder for chaining. |