Class Service.CloudRun (3.43.0)

public static final class Service.CloudRun extends GeneratedMessageV3 implements Service.CloudRunOrBuilder

Cloud Run service. Learn more at https://cloud.google.com/run.

Protobuf type google.monitoring.v3.Service.CloudRun

Static Fields

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Service.CloudRun getDefaultInstance()
Returns
Type Description
Service.CloudRun

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Service.CloudRun.Builder newBuilder()
Returns
Type Description
Service.CloudRun.Builder

newBuilder(Service.CloudRun prototype)

public static Service.CloudRun.Builder newBuilder(Service.CloudRun prototype)
Parameter
Name Description
prototype Service.CloudRun
Returns
Type Description
Service.CloudRun.Builder

parseDelimitedFrom(InputStream input)

public static Service.CloudRun parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Service.CloudRun parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Service.CloudRun parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Service.CloudRun parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Service.CloudRun parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Service.CloudRun parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Service.CloudRun parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Service.CloudRun parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Service.CloudRun parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Service.CloudRun parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Service.CloudRun parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Service.CloudRun parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.CloudRun
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Service.CloudRun> parser()
Returns
Type Description
Parser<CloudRun>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Service.CloudRun getDefaultInstanceForType()
Returns
Type Description
Service.CloudRun

getLocation()

public String getLocation()

The location the service is run. Corresponds to the location resource label in the cloud_run_revision monitored resource.

string location = 2;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location the service is run. Corresponds to the location resource label in the cloud_run_revision monitored resource.

string location = 2;

Returns
Type Description
ByteString

The bytes for location.

getParserForType()

public Parser<Service.CloudRun> getParserForType()
Returns
Type Description
Parser<CloudRun>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceName()

public String getServiceName()

The name of the Cloud Run service. Corresponds to the service_name resource label in the cloud_run_revision monitored resource.

string service_name = 1;

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

The name of the Cloud Run service. Corresponds to the service_name resource label in the cloud_run_revision monitored resource.

string service_name = 1;

Returns
Type Description
ByteString

The bytes for serviceName.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Service.CloudRun.Builder newBuilderForType()
Returns
Type Description
Service.CloudRun.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Service.CloudRun.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Service.CloudRun.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Service.CloudRun.Builder toBuilder()
Returns
Type Description
Service.CloudRun.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException