public static final class CloudRunMetadata.Builder extends GeneratedMessage.Builder<CloudRunMetadata.Builder> implements CloudRunMetadataOrBuilderCloudRunMetadata contains information from a Cloud Run deployment.
Protobuf type google.cloud.deploy.v1.CloudRunMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.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. |
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 |
StringThe 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 |
ByteStringThe 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 |
|
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. |
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. |
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 |
intThe 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 |
intThe 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 GeneratedMessage.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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for job to set. |
| Returns | |
|---|---|
| Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
intThe index to set the value at. |
value |
StringThe serviceUrls to set. |
| Returns | |
|---|---|
| Type | Description |
CloudRunMetadata.Builder |
This builder for chaining. |