public final class CloudRunMetadata extends GeneratedMessageV3 implements CloudRunMetadataOrBuilder
CloudRunMetadata contains information from a Cloud Run deployment.
Protobuf type google.events.cloud.deploy.v1.CloudRunMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CloudRunMetadataImplements
CloudRunMetadataOrBuilderStatic Fields
JOB_FIELD_NUMBER
public static final int JOB_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REVISION_FIELD_NUMBER
public static final int REVISION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SERVICE_URLS_FIELD_NUMBER
public static final int SERVICE_URLS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CloudRunMetadata getDefaultInstance()
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CloudRunMetadata.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
newBuilder(CloudRunMetadata prototype)
public static CloudRunMetadata.Builder newBuilder(CloudRunMetadata prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CloudRunMetadata |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
parseDelimitedFrom(InputStream input)
public static CloudRunMetadata parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CloudRunMetadata parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CloudRunMetadata parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CloudRunMetadata parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CloudRunMetadata parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CloudRunMetadata parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudRunMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CloudRunMetadata> parser()
Returns | |
---|---|
Type | Description |
Parser<CloudRunMetadata> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CloudRunMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudRunMetadata |
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. |
getParserForType()
public Parser<CloudRunMetadata> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CloudRunMetadata> |
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. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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 |
int The 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 |
int The 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. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CloudRunMetadata.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudRunMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CloudRunMetadata.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CloudRunMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |