public static final class CloudRunMetadata.Builder extends GeneratedMessageV3.Builder<CloudRunMetadata.Builder> implements CloudRunMetadataOrBuilderCloudRunMetadata contains information from a Cloud Run deployment.
Protobuf type google.events.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;
| 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;
| 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;
| 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 |
|
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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| Returns | |
|---|---|
| Type | Description |
String |
The revision. |
getRevisionBytes()
public ByteString getRevisionBytes() Output only. The Cloud Run Revision id associated with a Rollout.
string revision = 3;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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;
| 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;
| 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;
| 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;
| 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;
| 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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CloudRunMetadata.Builder |
|