Class GitRepositoryLink (0.10.0)

publicfinalclass GitRepositoryLinkextendsGeneratedMessageV3implementsGitRepositoryLinkOrBuilder

Message describing the GitRepositoryLink object

Protobuf type google.cloud.developerconnect.v1.GitRepositoryLink

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

publicstaticfinalintANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintCLONE_URI_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintDELETE_TIME_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintETAG_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintLABELS_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintRECONCILING_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintUID_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

publicstaticGitRepositoryLinkgetDefaultInstance()
Returns
Type Description
GitRepositoryLink
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor
publicstaticGitRepositoryLink.BuildernewBuilder()
Returns
Type Description
GitRepositoryLink.Builder
publicstaticGitRepositoryLink.BuildernewBuilder(GitRepositoryLinkprototype)
Parameter
Name Description
prototype GitRepositoryLink
Returns
Type Description
GitRepositoryLink.Builder
publicstaticGitRepositoryLinkparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
publicstaticGitRepositoryLinkparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
publicstaticGitRepositoryLinkparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticGitRepositoryLinkparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticGitRepositoryLinkparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticGitRepositoryLinkparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticGitRepositoryLinkparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
publicstaticGitRepositoryLinkparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
publicstaticGitRepositoryLinkparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
publicstaticGitRepositoryLinkparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
publicstaticGitRepositoryLinkparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticGitRepositoryLinkparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
publicstaticParser<GitRepositoryLink>parser()
Returns
Type Description
Parser<GitRepositoryLink>

Methods

publicbooleancontainsAnnotations(Stringkey)

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean
publicbooleancontainsLabels(Stringkey)

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean
publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
publicMap<String,String>getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>
publicintgetAnnotationsCount()

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int
publicMap<String,String>getAnnotationsMap()

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>
publicStringgetAnnotationsOrDefault(Stringkey,StringdefaultValue)

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String
publicStringgetAnnotationsOrThrow(Stringkey)

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String
publicStringgetCloneUri()

Required. Git Clone URI.

string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The cloneUri.

publicByteStringgetCloneUriBytes()

Required. Git Clone URI.

string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for cloneUri.

publicTimestampgetCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

publicTimestampOrBuildergetCreateTimeOrBuilder()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
publicGitRepositoryLinkgetDefaultInstanceForType()
Returns
Type Description
GitRepositoryLink
publicTimestampgetDeleteTime()

Output only. [Output only] Delete timestamp

.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The deleteTime.

publicTimestampOrBuildergetDeleteTimeOrBuilder()

Output only. [Output only] Delete timestamp

.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
publicStringgetEtag()

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

publicByteStringgetEtagBytes()

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>
publicintgetLabelsCount()

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int
publicMap<String,String>getLabelsMap()

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String
publicStringgetLabelsOrThrow(Stringkey)

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String
publicStringgetName()

Identifier. Resource name of the repository, in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

publicByteStringgetNameBytes()

Identifier. Resource name of the repository, in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

publicParser<GitRepositoryLink>getParserForType()
Returns
Type Description
Parser<GitRepositoryLink>
Overrides
publicbooleangetReconciling()

Output only. Set to true when the connection is being set up or updated in the background.

bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The reconciling.

publicintgetSerializedSize()
Returns
Type Description
int
Overrides
publicStringgetUid()

Output only. A system-assigned unique identifier for a the GitRepositoryLink.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The uid.

publicByteStringgetUidBytes()

Output only. A system-assigned unique identifier for a the GitRepositoryLink.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for uid.

publicTimestampgetUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

publicTimestampOrBuildergetUpdateTimeOrBuilder()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
publicbooleanhasCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

publicbooleanhasDeleteTime()

Output only. [Output only] Delete timestamp

.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deleteTime field is set.

publicbooleanhasUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

publicinthashCode()
Returns
Type Description
int
Overrides
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides
publicGitRepositoryLink.BuildernewBuilderForType()
Returns
Type Description
GitRepositoryLink.Builder
protectedGitRepositoryLink.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GitRepositoryLink.Builder
Overrides
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
publicGitRepositoryLink.BuildertoBuilder()
Returns
Type Description
GitRepositoryLink.Builder
publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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年11月19日 UTC.