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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 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()
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()
public Parser<Repository.GitRemoteSettings> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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];
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.
|
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Repository.GitRemoteSettings.Builder newBuilderForType()
protected Repository.GitRemoteSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Repository.GitRemoteSettings.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides