public final class CloudRunMetadata extends GeneratedMessageV3 implements CloudRunMetadataOrBuilder
CloudRunMetadata contains information from a Cloud Run deployment.
Protobuf type google.cloud.deploy.v1.CloudRunMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int JOB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int REVISION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SERVICE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SERVICE_URLS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static CloudRunMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CloudRunMetadata.Builder newBuilder()
public static CloudRunMetadata.Builder newBuilder(CloudRunMetadata prototype)
public static CloudRunMetadata parseDelimitedFrom(InputStream input)
public static CloudRunMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static CloudRunMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(ByteString data)
public static CloudRunMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(CodedInputStream input)
public static CloudRunMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(InputStream input)
public static CloudRunMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(ByteBuffer data)
public static CloudRunMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CloudRunMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public CloudRunMetadata getDefaultInstanceForType()
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.
|
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.
|
public Parser<CloudRunMetadata> getParserForType()
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 |
---|
Type | Description |
ByteString | The bytes for revision.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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, (.google.api.resource_reference) = { ... }
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, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for service.
|
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CloudRunMetadata.Builder newBuilderForType()
protected CloudRunMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public CloudRunMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides