public static final class GitRepositoryLink.Builder extends GeneratedMessageV3.Builder<GitRepositoryLink.Builder> implements GitRepositoryLinkOrBuilder
Message describing the GitRepositoryLink object
Protobuf type google.cloud.developerconnect.v1.GitRepositoryLink
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GitRepositoryLink.BuilderImplements
GitRepositoryLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitRepositoryLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
build()
public GitRepositoryLink build()
Returns | |
---|---|
Type | Description |
GitRepositoryLink |
buildPartial()
public GitRepositoryLink buildPartial()
Returns | |
---|---|
Type | Description |
GitRepositoryLink |
clear()
public GitRepositoryLink.Builder clear()
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
clearAnnotations()
public GitRepositoryLink.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
clearCloneUri()
public GitRepositoryLink.Builder clearCloneUri()
Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
This builder for chaining. |
clearCreateTime()
public GitRepositoryLink.Builder clearCreateTime()
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
clearDeleteTime()
public GitRepositoryLink.Builder clearDeleteTime()
Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
clearEtag()
public GitRepositoryLink.Builder clearEtag()
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)
public GitRepositoryLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
clearLabels()
public GitRepositoryLink.Builder clearLabels()
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
clearName()
public GitRepositoryLink.Builder clearName()
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)
public GitRepositoryLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
clearReconciling()
public GitRepositoryLink.Builder clearReconciling()
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()
public GitRepositoryLink.Builder clearUid()
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()
public GitRepositoryLink.Builder clearUpdateTime()
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
clearWebhookId()
public GitRepositoryLink.Builder clearWebhookId()
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()
public GitRepositoryLink.Builder clone()
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
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)
public boolean containsLabels(String key)
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)
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
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()
public Map<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)
public String getAnnotationsOrDefault(String key, String defaultValue)
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)
public String getAnnotationsOrThrow(String key)
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()
public String getCloneUri()
Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The cloneUri. |
getCloneUriBytes()
public ByteString getCloneUriBytes()
Required. Git Clone URI.
string clone_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cloneUri. |
getCreateTime()
public Timestamp getCreateTime()
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()
public Timestamp.Builder getCreateTimeBuilder()
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public GitRepositoryLink getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GitRepositoryLink |
getDeleteTime()
public Timestamp getDeleteTime()
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()
public Timestamp.Builder getDeleteTimeBuilder()
Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. [Output only] Delete timestamp
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEtag()
public String getEtag()
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()
public ByteString getEtagBytes()
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)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. Labels as key value pairs
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<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)
public String getLabelsOrDefault(String key, String defaultValue)
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)
public String getLabelsOrThrow(String key)
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)
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
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()
public ByteString getNameBytes()
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()
public boolean getReconciling()
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()
public String getUid()
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()
public ByteString getUidBytes()
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()
public Timestamp getUpdateTime()
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()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getWebhookId()
public String getWebhookId()
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()
public ByteString getWebhookIdBytes()
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()
public boolean hasCreateTime()
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()
public boolean hasDeleteTime()
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()
public boolean hasUpdateTime()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public GitRepositoryLink.Builder mergeCreateTime(Timestamp value)
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)
public GitRepositoryLink.Builder mergeDeleteTime(Timestamp value)
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)
public GitRepositoryLink.Builder mergeFrom(GitRepositoryLink other)
Parameter | |
---|---|
Name | Description |
other |
GitRepositoryLink |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GitRepositoryLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GitRepositoryLink.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitRepositoryLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
mergeUpdateTime(Timestamp value)
public GitRepositoryLink.Builder mergeUpdateTime(Timestamp value)
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)
public GitRepositoryLink.Builder putAllAnnotations(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)
public GitRepositoryLink.Builder putAllLabels(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)
public GitRepositoryLink.Builder putAnnotations(String key, String value)
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)
public GitRepositoryLink.Builder putLabels(String key, String value)
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)
public GitRepositoryLink.Builder removeAnnotations(String key)
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)
public GitRepositoryLink.Builder removeLabels(String key)
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)
public GitRepositoryLink.Builder setCloneUri(String value)
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)
public GitRepositoryLink.Builder setCloneUriBytes(ByteString value)
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)
public GitRepositoryLink.Builder setCreateTime(Timestamp value)
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)
public GitRepositoryLink.Builder setCreateTime(Timestamp.Builder builderForValue)
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)
public GitRepositoryLink.Builder setDeleteTime(Timestamp value)
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)
public GitRepositoryLink.Builder setDeleteTime(Timestamp.Builder builderForValue)
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)
public GitRepositoryLink.Builder setEtag(String value)
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)
public GitRepositoryLink.Builder setEtagBytes(ByteString value)
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)
public GitRepositoryLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
setName(String value)
public GitRepositoryLink.Builder setName(String value)
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)
public GitRepositoryLink.Builder setNameBytes(ByteString value)
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)
public GitRepositoryLink.Builder setReconciling(boolean value)
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)
public GitRepositoryLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
setUid(String value)
public GitRepositoryLink.Builder setUid(String value)
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)
public GitRepositoryLink.Builder setUidBytes(ByteString value)
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)
public final GitRepositoryLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GitRepositoryLink.Builder |
setUpdateTime(Timestamp value)
public GitRepositoryLink.Builder setUpdateTime(Timestamp value)
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)
public GitRepositoryLink.Builder setUpdateTime(Timestamp.Builder builderForValue)
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)
public GitRepositoryLink.Builder setWebhookId(String value)
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)
public GitRepositoryLink.Builder setWebhookIdBytes(ByteString value)
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. |