public final class CloudRunMetadata extends GeneratedMessageV3 implements CloudRunMetadataOrBuilder
CloudRunMetadata contains information from a Cloud Run deployment.
Protobuf type google.cloud.deploy.v1.CloudRunMetadata
Static Fields
public static final int REVISION_FIELD_NUMBER
Field Value
public static final int SERVICE_FIELD_NUMBER
Field Value
public static final int SERVICE_URLS_FIELD_NUMBER
Field Value
Static Methods
public static CloudRunMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CloudRunMetadata.Builder newBuilder()
Returns
public static CloudRunMetadata.Builder newBuilder(CloudRunMetadata prototype)
Parameter
Returns
public static CloudRunMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CloudRunMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudRunMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CloudRunMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudRunMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CloudRunMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudRunMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CloudRunMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudRunMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CloudRunMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudRunMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CloudRunMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CloudRunMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CloudRunMetadata getDefaultInstanceForType()
Returns
public Parser<CloudRunMetadata> getParserForType()
Returns
Overrides
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.
|
public ByteString getRevisionBytes()
Output only. The Cloud Run Revision id associated with a Rollout
.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public int getSerializedSize()
Returns
Overrides
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];
Returns
Type | Description |
String | The service.
|
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];
Returns
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.
|
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.
|
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.
|
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
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CloudRunMetadata.Builder newBuilderForType()
Returns
protected CloudRunMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CloudRunMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions