- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class CloudRunMetadata.Builder extends GeneratedMessageV3.Builder<CloudRunMetadata.Builder> implements CloudRunMetadataOrBuilder
CloudRunMetadata contains information from a Cloud Run deployment.
Protobuf type google.cloud.deploy.v1.CloudRunMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudRunMetadata.BuilderImplements
CloudRunMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllServiceUrls(Iterable<String> values)
public CloudRunMetadata.Builder addAllServiceUrls(Iterable<String> values)
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The serviceUrls to add. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudRunMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
addServiceUrls(String value)
public CloudRunMetadata.Builder addServiceUrls(String value)
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The serviceUrls to add. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
addServiceUrlsBytes(ByteString value)
public CloudRunMetadata.Builder addServiceUrlsBytes(ByteString value)
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the serviceUrls to add. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
build()
public CloudRunMetadata build()
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
buildPartial()
public CloudRunMetadata buildPartial()
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
clear()
public CloudRunMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public CloudRunMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
clearJob()
public CloudRunMetadata.Builder clearJob()
Output only. The name of the Cloud Run job that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/jobs/{job_name}
.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudRunMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
clearRevision()
public CloudRunMetadata.Builder clearRevision()
Output only. The Cloud Run Revision id associated with a Rollout
.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
clearService()
public CloudRunMetadata.Builder clearService()
Output only. The name of the Cloud Run Service that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/services/{service}
.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
clearServiceUrls()
public CloudRunMetadata.Builder clearServiceUrls()
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
clone()
public CloudRunMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
getDefaultInstanceForType()
public CloudRunMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getJob()
public String getJob()
Output only. The name of the Cloud Run job that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/jobs/{job_name}
.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The job. |
getJobBytes()
public ByteString getJobBytes()
Output only. The name of the Cloud Run job that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/jobs/{job_name}
.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for job. |
getRevision()
public String getRevision()
Output only. The Cloud Run Revision id associated with a Rollout
.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The revision. |
getRevisionBytes()
public ByteString getRevisionBytes()
Output only. The Cloud Run Revision id associated with a Rollout
.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for revision. |
getService()
public String getService()
Output only. The name of the Cloud Run Service that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/services/{service}
.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The service. |
getServiceBytes()
public ByteString getServiceBytes()
Output only. The name of the Cloud Run Service that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/services/{service}
.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for service. |
getServiceUrls(int index)
public String getServiceUrls(int index)
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The serviceUrls at the given index. |
getServiceUrlsBytes(int index)
public ByteString getServiceUrlsBytes(int index)
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the serviceUrls at the given index. |
getServiceUrlsCount()
public int getServiceUrlsCount()
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The count of serviceUrls. |
getServiceUrlsList()
public ProtocolStringList getServiceUrlsList()
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the serviceUrls. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CloudRunMetadata other)
public CloudRunMetadata.Builder mergeFrom(CloudRunMetadata other)
Parameter | |
---|---|
Name | Description |
other |
CloudRunMetadata |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudRunMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CloudRunMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudRunMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
setJob(String value)
public CloudRunMetadata.Builder setJob(String value)
Output only. The name of the Cloud Run job that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/jobs/{job_name}
.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The job to set. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
setJobBytes(ByteString value)
public CloudRunMetadata.Builder setJobBytes(ByteString value)
Output only. The name of the Cloud Run job that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/jobs/{job_name}
.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for job to set. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudRunMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
setRevision(String value)
public CloudRunMetadata.Builder setRevision(String value)
Output only. The Cloud Run Revision id associated with a Rollout
.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The revision to set. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
setRevisionBytes(ByteString value)
public CloudRunMetadata.Builder setRevisionBytes(ByteString value)
Output only. The Cloud Run Revision id associated with a Rollout
.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for revision to set. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
setService(String value)
public CloudRunMetadata.Builder setService(String value)
Output only. The name of the Cloud Run Service that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/services/{service}
.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The service to set. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
setServiceBytes(ByteString value)
public CloudRunMetadata.Builder setServiceBytes(ByteString value)
Output only. The name of the Cloud Run Service that is associated with a
Rollout
. Format is
projects/{project}/locations/{location}/services/{service}
.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for service to set. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
setServiceUrls(int index, String value)
public CloudRunMetadata.Builder setServiceUrls(int index, String value)
Output only. The Cloud Run Service urls that are associated with a
Rollout
.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The serviceUrls to set. |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |