Class CloudRunLocation (1.16.0)

public final class CloudRunLocation extends GeneratedMessageV3 implements CloudRunLocationOrBuilder

Information specifying where to deploy a Cloud Run Service.

Protobuf type google.cloud.deploy.v1.CloudRunLocation

Static Fields

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudRunLocation getDefaultInstance()
Returns
TypeDescription
CloudRunLocation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CloudRunLocation.Builder newBuilder()
Returns
TypeDescription
CloudRunLocation.Builder

newBuilder(CloudRunLocation prototype)

public static CloudRunLocation.Builder newBuilder(CloudRunLocation prototype)
Parameter
NameDescription
prototypeCloudRunLocation
Returns
TypeDescription
CloudRunLocation.Builder

parseDelimitedFrom(InputStream input)

public static CloudRunLocation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudRunLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CloudRunLocation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudRunLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudRunLocation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudRunLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudRunLocation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudRunLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CloudRunLocation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudRunLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CloudRunLocation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudRunLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudRunLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CloudRunLocation> parser()
Returns
TypeDescription
Parser<CloudRunLocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CloudRunLocation getDefaultInstanceForType()
Returns
TypeDescription
CloudRunLocation

getLocation()

public String getLocation()

Required. The location for the Cloud Run Service. Format must be projects/{project}/locations/{location}.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. The location for the Cloud Run Service. Format must be projects/{project}/locations/{location}.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

public Parser<CloudRunLocation> getParserForType()
Returns
TypeDescription
Parser<CloudRunLocation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CloudRunLocation.Builder newBuilderForType()
Returns
TypeDescription
CloudRunLocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudRunLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CloudRunLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CloudRunLocation.Builder toBuilder()
Returns
TypeDescription
CloudRunLocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException