- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public static final class Repository.Builder extends GeneratedMessageV3.Builder<Repository.Builder> implements RepositoryOrBuilder
A repository associated to a parent connection.
Protobuf type google.devtools.cloudbuild.v2.Repository
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Repository.BuilderImplements
RepositoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Repository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Repository.Builder |
build()
public Repository build()
Returns | |
---|---|
Type | Description |
Repository |
buildPartial()
public Repository buildPartial()
Returns | |
---|---|
Type | Description |
Repository |
clear()
public Repository.Builder clear()
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearAnnotations()
public Repository.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearCreateTime()
public Repository.Builder clearCreateTime()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearEtag()
public Repository.Builder clearEtag()
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;
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Repository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearName()
public Repository.Builder clearName()
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Repository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearRemoteUri()
public Repository.Builder clearRemoteUri()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
clearUpdateTime()
public Repository.Builder clearUpdateTime()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearWebhookId()
public Repository.Builder clearWebhookId()
Output only. External ID of the webhook created for the repository.
string webhook_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
clone()
public Repository.Builder clone()
Returns | |
---|---|
Type | Description |
Repository.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
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()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getCreateTime()
public Timestamp getCreateTime()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Repository getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Repository |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEtag()
public String getEtag()
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;
Returns | |
---|---|
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getMutableAnnotations() (deprecated)
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getRemoteUri()
public String getRemoteUri()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The remoteUri. |
getRemoteUriBytes()
public ByteString getRemoteUriBytes()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for remoteUri. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for webhookId. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.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 |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Repository.Builder mergeCreateTime(Timestamp value)
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeFrom(Repository other)
public Repository.Builder mergeFrom(Repository other)
Parameter | |
---|---|
Name | Description |
other | Repository |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Repository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Repository.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Repository.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Repository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeUpdateTime(Timestamp value)
public Repository.Builder mergeUpdateTime(Timestamp value)
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Repository.Builder |
putAllAnnotations(Map<String,String> values)
public Repository.Builder putAllAnnotations(Map<String,String> values)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Repository.Builder |
putAnnotations(String key, String value)
public Repository.Builder putAnnotations(String key, String value)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Repository.Builder |
removeAnnotations(String key)
public Repository.Builder removeAnnotations(String key)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setCreateTime(Timestamp value)
public Repository.Builder setCreateTime(Timestamp value)
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Repository.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setEtag(String value)
public Repository.Builder setEtag(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The etag to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Repository.Builder setEtagBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Repository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setName(String value)
public Repository.Builder setName(String value)
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Repository.Builder setNameBytes(ByteString value)
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
setRemoteUri(String value)
public Repository.Builder setRemoteUri(String value)
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The remoteUri to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
setRemoteUriBytes(ByteString value)
public Repository.Builder setRemoteUriBytes(ByteString value)
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for remoteUri to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Repository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Repository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setUpdateTime(Timestamp value)
public Repository.Builder setUpdateTime(Timestamp value)
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Repository.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setWebhookId(String value)
public Repository.Builder setWebhookId(String value)
Output only. External ID of the webhook created for the repository.
string webhook_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The webhookId to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |
setWebhookIdBytes(ByteString value)
public Repository.Builder setWebhookIdBytes(ByteString value)
Output only. External ID of the webhook created for the repository.
string webhook_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for webhookId to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder | This builder for chaining. |