Send feedback
Class Repository.GitRemoteSettings (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]