public static final class CloudRunMetadata.Builder extends GeneratedMessageV3.Builder<CloudRunMetadata.Builder> implements CloudRunMetadataOrBuilderCloudRunMetadata 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()| 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];
| Name | Description |
| values | Iterable<String>The serviceUrls to add. |
| Type | Description |
| CloudRunMetadata.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudRunMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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];
| Name | Description |
| value | StringThe serviceUrls to add. |
| 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];
| Name | Description |
| value | ByteStringThe bytes of the serviceUrls to add. |
| Type | Description |
| CloudRunMetadata.Builder | This builder for chaining. |
build()
public CloudRunMetadata build()| Type | Description |
| CloudRunMetadata |
buildPartial()
public CloudRunMetadata buildPartial()| Type | Description |
| CloudRunMetadata |
clear()
public CloudRunMetadata.Builder clear()| Type | Description |
| CloudRunMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public CloudRunMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| CloudRunMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudRunMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| 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];
| 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];
| 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];
| Type | Description |
| CloudRunMetadata.Builder | This builder for chaining. |
clone()
public CloudRunMetadata.Builder clone()| Type | Description |
| CloudRunMetadata.Builder |
getDefaultInstanceForType()
public CloudRunMetadata getDefaultInstanceForType()| Type | Description |
| CloudRunMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getRevision()
public String getRevision() Output only. The Cloud Run Revision id associated with a Rollout.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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];
| 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];
| 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];
| 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];
| Name | Description |
| index | intThe index of the element to return. |
| 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];
| Name | Description |
| index | intThe index of the value to return. |
| 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];
| 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];
| Type | Description |
| ProtocolStringList | A list containing the serviceUrls. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(CloudRunMetadata other)
public CloudRunMetadata.Builder mergeFrom(CloudRunMetadata other)| Name | Description |
| other | CloudRunMetadata |
| Type | Description |
| CloudRunMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudRunMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| CloudRunMetadata.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public CloudRunMetadata.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| CloudRunMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| CloudRunMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudRunMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| CloudRunMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudRunMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| 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];
| Name | Description |
| value | StringThe revision to set. |
| 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];
| Name | Description |
| value | ByteStringThe bytes for revision to set. |
| 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];
| Name | Description |
| value | StringThe service to set. |
| 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];
| Name | Description |
| value | ByteStringThe bytes for service to set. |
| 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];
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe serviceUrls to set. |
| Type | Description |
| CloudRunMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| CloudRunMetadata.Builder |