Class GitRepositoryLink.Builder (0.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass GitRepositoryLink.BuilderextendsGeneratedMessageV3.Builder<GitRepositoryLink.Builder>implementsGitRepositoryLinkOrBuilderMessage describing the GitRepositoryLink object
Protobuf type google.cloud.developerconnect.v1.GitRepositoryLink
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GitRepositoryLink.BuilderImplements
GitRepositoryLinkOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicGitRepositoryLink.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
build()
publicGitRepositoryLinkbuild()| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink |
|
buildPartial()
publicGitRepositoryLinkbuildPartial()| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink |
|
clear()
publicGitRepositoryLink.Builderclear()| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
clearAnnotations()
publicGitRepositoryLink.BuilderclearAnnotations()| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
clearCloneUri()
publicGitRepositoryLink.BuilderclearCloneUri()Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
This builder for chaining. |
clearCreateTime()
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 |
|
clearDeleteTime()
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 |
|
clearEtag()
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. |
clearField(Descriptors.FieldDescriptor field)
publicGitRepositoryLink.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
clearLabels()
publicGitRepositoryLink.BuilderclearLabels()| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
clearName()
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicGitRepositoryLink.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
clearReconciling()
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. |
clearUid()
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. |
clearUpdateTime()
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 |
|
clearWebhookId()
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. |
clone()
publicGitRepositoryLink.Builderclone()| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
containsAnnotations(String key)
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 |
|
containsLabels(String key)
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 |
|
getAnnotations() (deprecated)
publicMap<String,String>getAnnotations()Use #getAnnotationsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAnnotationsCount()
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 |
|
getAnnotationsMap()
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> |
|
getAnnotationsOrDefault(String key, String defaultValue)
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 |
|
getAnnotationsOrThrow(String key)
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 |
|
getCloneUri()
publicStringgetCloneUri()Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The cloneUri. |
getCloneUriBytes()
publicByteStringgetCloneUriBytes()Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cloneUri. |
getCreateTime()
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. |
getCreateTimeBuilder()
publicTimestamp.BuildergetCreateTimeBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
publicGitRepositoryLinkgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink |
|
getDeleteTime()
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. |
getDeleteTimeBuilder()
publicTimestamp.BuildergetDeleteTimeBuilder()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDeleteTimeOrBuilder()
publicTimestampOrBuildergetDeleteTimeOrBuilder()Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEtag()
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. |
getEtagBytes()
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. |
getLabels() (deprecated)
publicMap<String,String>getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
publicintgetLabelsCount()Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
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> |
|
getLabelsOrDefault(String key, String defaultValue)
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 |
|
getLabelsOrThrow(String key)
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 |
|
getMutableAnnotations() (deprecated)
publicMap<String,String>getMutableAnnotations()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableLabels() (deprecated)
publicMap<String,String>getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
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. |
getNameBytes()
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. |
getReconciling()
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. |
getUid()
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. |
getUidBytes()
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. |
getUpdateTime()
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. |
getUpdateTimeBuilder()
publicTimestamp.BuildergetUpdateTimeBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getWebhookId()
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. |
getWebhookIdBytes()
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. |
hasCreateTime()
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. |
hasDeleteTime()
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. |
hasUpdateTime()
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. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
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 |
|
mergeDeleteTime(Timestamp value)
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 |
|
mergeFrom(GitRepositoryLink other)
publicGitRepositoryLink.BuildermergeFrom(GitRepositoryLinkother)| Parameter | |
|---|---|
| Name | Description |
other |
GitRepositoryLink |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicGitRepositoryLink.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicGitRepositoryLink.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalGitRepositoryLink.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
mergeUpdateTime(Timestamp value)
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 |
|
putAllAnnotations(Map<String,String> values)
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 |
|
putAllLabels(Map<String,String> values)
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 |
|
putAnnotations(String key, String value)
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 |
|
putLabels(String key, String value)
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 |
|
removeAnnotations(String key)
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 |
|
removeLabels(String key)
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 |
|
setCloneUri(String value)
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. |
setCloneUriBytes(ByteString value)
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. |
setCreateTime(Timestamp value)
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 |
|
setCreateTime(Timestamp.Builder builderForValue)
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 |
|
setDeleteTime(Timestamp value)
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 |
|
setDeleteTime(Timestamp.Builder builderForValue)
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 |
|
setEtag(String value)
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. |
setEtagBytes(ByteString value)
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. |
setField(Descriptors.FieldDescriptor field, Object value)
publicGitRepositoryLink.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
setName(String value)
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. |
setNameBytes(ByteString value)
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. |
setReconciling(boolean value)
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicGitRepositoryLink.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
setUid(String value)
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. |
setUidBytes(ByteString value)
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. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalGitRepositoryLink.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GitRepositoryLink.Builder |
|
setUpdateTime(Timestamp value)
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 |
|
setUpdateTime(Timestamp.Builder builderForValue)
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 |
|
setWebhookId(String value)
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. |
setWebhookIdBytes(ByteString value)
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. |