public static final class Repository.GitRemoteSettings extends GeneratedMessage implements Repository.GitRemoteSettingsOrBuilder
Controls Git remote configuration for a repository.
Protobuf type google.cloud.dataform.v1.Repository.GitRemoteSettings
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int AUTHENTICATION_TOKEN_SECRET_VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DEFAULT_BRANCH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int EFFECTIVE_DEFAULT_BRANCH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int GIT_REPOSITORY_LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SSH_AUTHENTICATION_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOKEN_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Repository.GitRemoteSettings getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Repository.GitRemoteSettings.Builder newBuilder()
public static Repository.GitRemoteSettings.Builder newBuilder(Repository.GitRemoteSettings prototype)
public static Repository.GitRemoteSettings parseDelimitedFrom(InputStream input)
public static Repository.GitRemoteSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository.GitRemoteSettings parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static Repository.GitRemoteSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Repository.GitRemoteSettings parseFrom(ByteString data)
public static Repository.GitRemoteSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Repository.GitRemoteSettings parseFrom(CodedInputStream input)
public static Repository.GitRemoteSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository.GitRemoteSettings parseFrom(InputStream input)
public static Repository.GitRemoteSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository.GitRemoteSettings parseFrom(ByteBuffer data)
public static Repository.GitRemoteSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Repository.GitRemoteSettings> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getAuthenticationTokenSecretVersion()
Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The authenticationTokenSecretVersion.
|
public ByteString getAuthenticationTokenSecretVersionBytes()
Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for authenticationTokenSecretVersion.
|
public String getDefaultBranch()
Optional. The Git remote's default branch name.
If not set, main will be used.
string default_branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The defaultBranch.
|
public ByteString getDefaultBranchBytes()
Optional. The Git remote's default branch name.
If not set, main will be used.
string default_branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for defaultBranch.
|
public Repository.GitRemoteSettings getDefaultInstanceForType()
public String getEffectiveDefaultBranch()
Output only. The Git remote's effective default branch name.
This is the default branch name of the Git remote if it is set,
otherwise it is main.
string effective_default_branch = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The effectiveDefaultBranch.
|
public ByteString getEffectiveDefaultBranchBytes()
Output only. The Git remote's effective default branch name.
This is the default branch name of the Git remote if it is set,
otherwise it is main.
string effective_default_branch = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for effectiveDefaultBranch.
|
public String getGitRepositoryLink()
Optional. Resource name for the GitRepositoryLink used for machine
credentials. Must be in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
optional string git_repository_link = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The gitRepositoryLink.
|
public ByteString getGitRepositoryLinkBytes()
Optional. Resource name for the GitRepositoryLink used for machine
credentials. Must be in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
optional string git_repository_link = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for gitRepositoryLink.
|
public Parser<Repository.GitRemoteSettings> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public Repository.GitRemoteSettings.SshAuthenticationConfig getSshAuthenticationConfig()
Optional. Authentication fields for remote uris using SSH protocol.
.google.cloud.dataform.v1.Repository.GitRemoteSettings.SshAuthenticationConfig ssh_authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];
public Repository.GitRemoteSettings.SshAuthenticationConfigOrBuilder getSshAuthenticationConfigOrBuilder()
Optional. Authentication fields for remote uris using SSH protocol.
.google.cloud.dataform.v1.Repository.GitRemoteSettings.SshAuthenticationConfig ssh_authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];
public Repository.GitRemoteSettings.TokenStatus getTokenStatus()
Deprecated. google.cloud.dataform.v1.Repository.GitRemoteSettings.token_status is deprecated.
See google/cloud/dataform/v1/dataform.proto;l=906
Output only. Deprecated: The field does not contain any token status
information.
.google.cloud.dataform.v1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
public int getTokenStatusValue()
Deprecated. google.cloud.dataform.v1.Repository.GitRemoteSettings.token_status is deprecated.
See google/cloud/dataform/v1/dataform.proto;l=906
Output only. Deprecated: The field does not contain any token status
information.
.google.cloud.dataform.v1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for tokenStatus.
|
Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The url.
|
public ByteString getUrlBytes()
Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for url.
|
public boolean hasGitRepositoryLink()
Optional. Resource name for the GitRepositoryLink used for machine
credentials. Must be in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
optional string git_repository_link = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
boolean |
Whether the gitRepositoryLink field is set.
|
public boolean hasSshAuthenticationConfig()
Optional. Authentication fields for remote uris using SSH protocol.
.google.cloud.dataform.v1.Repository.GitRemoteSettings.SshAuthenticationConfig ssh_authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the sshAuthenticationConfig field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Repository.GitRemoteSettings.Builder newBuilderForType()
protected Repository.GitRemoteSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Repository.GitRemoteSettings.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides