- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Repository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Repository.Builder |
build()
public Repository build()
Type | Description |
Repository |
buildPartial()
public Repository buildPartial()
Type | Description |
Repository |
clear()
public Repository.Builder clear()
Type | Description |
Repository.Builder |
clearAnnotations()
public Repository.Builder clearAnnotations()
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];
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;
Type | Description |
Repository.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Repository.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
Type | Description |
Repository.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Repository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Repository.Builder |
clearRemoteUri()
public Repository.Builder clearRemoteUri()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
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];
Type | Description |
Repository.Builder |
clone()
public Repository.Builder clone()
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;
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
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;
Name | Description |
key | String |
defaultValue | String |
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;
Name | Description |
key | String |
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];
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];
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Repository getDefaultInstanceForType()
Type | Description |
Repository |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
Type | Description |
ByteString | The bytes for etag. |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
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];
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];
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];
Type | Description |
String | The remoteUri. |
getRemoteUriBytes()
public ByteString getRemoteUriBytes()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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];
Type | Description |
TimestampOrBuilder |
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];
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
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];
Name | Description |
value | Timestamp |
Type | Description |
Repository.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Repository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Repository.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Repository.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Repository.Builder |
mergeFrom(Repository other)
public Repository.Builder mergeFrom(Repository other)
Name | Description |
other | Repository |
Type | Description |
Repository.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Repository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | Timestamp |
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;
Name | Description |
values | Map<String,String> |
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;
Name | Description |
key | String |
value | String |
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;
Name | Description |
key | String |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | String The etag to set. |
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;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Repository.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Repository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | String The name to set. |
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];
Name | Description |
value | ByteString The bytes for name to set. |
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];
Name | Description |
value | String The remoteUri to set. |
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];
Name | Description |
value | ByteString The bytes for remoteUri to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Repository.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Repository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
Repository.Builder |