public static final class Repository.GitRemoteSettings extends GeneratedMessageV3 implements Repository.GitRemoteSettingsOrBuilder
Controls Git remote configuration for a repository.
Protobuf type google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings
Static Fields
public static final int AUTHENTICATION_TOKEN_SECRET_VERSION_FIELD_NUMBER
Field Value
public static final int DEFAULT_BRANCH_FIELD_NUMBER
Field Value
public static final int TOKEN_STATUS_FIELD_NUMBER
Field Value
public static final int URL_FIELD_NUMBER
Field Value
Static Methods
public static Repository.GitRemoteSettings getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Repository.GitRemoteSettings.Builder newBuilder()
Returns
public static Repository.GitRemoteSettings.Builder newBuilder(Repository.GitRemoteSettings prototype)
Parameter
Returns
public static Repository.GitRemoteSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Repository.GitRemoteSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Repository.GitRemoteSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Repository.GitRemoteSettings> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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) = { ... }
Returns
Type |
Description |
String |
The authenticationTokenSecretVersion.
|
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) = { ... }
Returns
Type |
Description |
ByteString |
The bytes for authenticationTokenSecretVersion.
|
public String getDefaultBranch()
Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The defaultBranch.
|
public ByteString getDefaultBranchBytes()
Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
ByteString |
The bytes for defaultBranch.
|
public Repository.GitRemoteSettings getDefaultInstanceForType()
Returns
public Parser<Repository.GitRemoteSettings> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Repository.GitRemoteSettings.TokenStatus getTokenStatus()
Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public int getTokenStatusValue()
Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type |
Description |
int |
The enum numeric value on the wire for tokenStatus.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Repository.GitRemoteSettings.Builder newBuilderForType()
Returns
protected Repository.GitRemoteSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Repository.GitRemoteSettings.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions