Send feedback
Class Repository.GitRemoteSettings (0.42.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.42.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(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 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 )
Returns
Type
Description
Object
Overrides
public Repository . GitRemoteSettings . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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."],[],[]]