Class GitRepositoryLink.Builder (0.13.0)

publicstaticfinalclass GitRepositoryLink.BuilderextendsGeneratedMessageV3.Builder<GitRepositoryLink.Builder>implementsGitRepositoryLinkOrBuilder

Message describing the GitRepositoryLink object

Protobuf type google.cloud.developerconnect.v1.GitRepositoryLink

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

publicGitRepositoryLink.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicGitRepositoryLinkbuild()
Returns
Type Description
GitRepositoryLink
publicGitRepositoryLinkbuildPartial()
Returns
Type Description
GitRepositoryLink
publicGitRepositoryLink.Builderclear()
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicGitRepositoryLink.BuilderclearAnnotations()
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderclearCloneUri()

Required. Git Clone URI.

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

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuilderclearCreateTime()

Output only. [Output only] Create timestamp

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

Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderclearDeleteTime()

Output only. [Output only] Delete timestamp

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

Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderclearEtag()

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
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicGitRepositoryLink.BuilderclearLabels()
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderclearName()

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

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

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicGitRepositoryLink.BuilderclearReconciling()

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
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuilderclearUid()

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
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuilderclearUpdateTime()

Output only. [Output only] Update timestamp

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

Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderclearWebhookId()

Output only. External ID of the webhook created for the repository.

string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.Builderclone()
Returns
Type Description
GitRepositoryLink.Builder
Overrides
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
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.

publicTimestamp.BuildergetCreateTimeBuilder()

Output only. [Output only] Create timestamp

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

Returns
Type Description
Builder
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.

publicTimestamp.BuildergetDeleteTimeBuilder()

Output only. [Output only] Delete timestamp

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

Returns
Type Description
Builder
publicTimestampOrBuildergetDeleteTimeOrBuilder()

Output only. [Output only] Delete timestamp

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

Returns
Type Description
TimestampOrBuilder
publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides
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
publicMap<String,String>getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>
publicMap<String,String>getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,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.

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.

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.

publicTimestamp.BuildergetUpdateTimeBuilder()

Output only. [Output only] Update timestamp

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

Returns
Type Description
Builder
publicTimestampOrBuildergetUpdateTimeOrBuilder()

Output only. [Output only] Update timestamp

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

Returns
Type Description
TimestampOrBuilder
publicStringgetWebhookId()

Output only. External ID of the webhook created for the repository.

string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The webhookId.

publicByteStringgetWebhookIdBytes()

Output only. External ID of the webhook created for the repository.

string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for webhookId.

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.

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.Builder.internalGetMapFieldReflection(int)
protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides
publicGitRepositoryLink.BuildermergeCreateTime(Timestampvalue)

Output only. [Output only] Create timestamp

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildermergeDeleteTime(Timestampvalue)

Output only. [Output only] Delete timestamp

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildermergeFrom(GitRepositoryLinkother)
Parameter
Name Description
other GitRepositoryLink
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink.Builder
Overrides
Exceptions
Type Description
IOException
publicGitRepositoryLink.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicfinalGitRepositoryLink.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicGitRepositoryLink.BuildermergeUpdateTime(Timestampvalue)

Output only. [Output only] Update timestamp

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderputAllAnnotations(Map<String,String>values)

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

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

Parameter
Name Description
values Map<String,String>
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderputAllLabels(Map<String,String>values)

Optional. Labels as key value pairs

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

Parameter
Name Description
values Map<String,String>
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderputAnnotations(Stringkey,Stringvalue)

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
value String
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderputLabels(Stringkey,Stringvalue)

Optional. Labels as key value pairs

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

Parameters
Name Description
key String
value String
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderremoveAnnotations(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
GitRepositoryLink.Builder
publicGitRepositoryLink.BuilderremoveLabels(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
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildersetCloneUri(Stringvalue)

Required. Git Clone URI.

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

Parameter
Name Description
value String

The cloneUri to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetCloneUriBytes(ByteStringvalue)

Required. Git Clone URI.

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

Parameter
Name Description
value ByteString

The bytes for cloneUri to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetCreateTime(Timestampvalue)

Output only. [Output only] Create timestamp

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)

Output only. [Output only] Create timestamp

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildersetDeleteTime(Timestampvalue)

Output only. [Output only] Delete timestamp

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildersetDeleteTime(Timestamp.BuilderbuilderForValue)

Output only. [Output only] Delete timestamp

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildersetEtag(Stringvalue)

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];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetEtagBytes(ByteStringvalue)

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];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicGitRepositoryLink.BuildersetName(Stringvalue)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetNameBytes(ByteStringvalue)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetReconciling(booleanvalue)

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];

Parameter
Name Description
value boolean

The reconciling to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicGitRepositoryLink.BuildersetUid(Stringvalue)

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

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

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetUidBytes(ByteStringvalue)

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

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

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicfinalGitRepositoryLink.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GitRepositoryLink.Builder
Overrides
publicGitRepositoryLink.BuildersetUpdateTime(Timestampvalue)

Output only. [Output only] Update timestamp

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildersetUpdateTime(Timestamp.BuilderbuilderForValue)

Output only. [Output only] Update timestamp

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GitRepositoryLink.Builder
publicGitRepositoryLink.BuildersetWebhookId(Stringvalue)

Output only. External ID of the webhook created for the repository.

string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The webhookId to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

publicGitRepositoryLink.BuildersetWebhookIdBytes(ByteStringvalue)

Output only. External ID of the webhook created for the repository.

string webhook_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for webhookId to set.

Returns
Type Description
GitRepositoryLink.Builder

This builder for chaining.

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.