Class Service.MultiRegionSettings (0.82.0)

public static final class Service.MultiRegionSettings extends GeneratedMessageV3 implements Service.MultiRegionSettingsOrBuilder

Settings for multi-region deployment.

Protobuf type google.cloud.run.v2.Service.MultiRegionSettings

Static Fields

MULTI_REGION_ID_FIELD_NUMBER

public static final int MULTI_REGION_ID_FIELD_NUMBER
Field Value
Type Description
int

REGIONS_FIELD_NUMBER

public static final int REGIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Service.MultiRegionSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getMultiRegionId()

public String getMultiRegionId()

Optional. System-generated unique id for the multi-region Service.

string multi_region_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The multiRegionId.

getMultiRegionIdBytes()

public ByteString getMultiRegionIdBytes()

Optional. System-generated unique id for the multi-region Service.

string multi_region_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for multiRegionId.

getParserForType()

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

getRegions(int index)

public String getRegions(int index)

Required. List of regions to deploy to, including primary region.

repeated string regions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The regions at the given index.

getRegionsBytes(int index)

public ByteString getRegionsBytes(int index)

Required. List of regions to deploy to, including primary region.

repeated string regions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the regions at the given index.

getRegionsCount()

public int getRegionsCount()

Required. List of regions to deploy to, including primary region.

repeated string regions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of regions.

getRegionsList()

public ProtocolStringList getRegionsList()

Required. List of regions to deploy to, including primary region.

repeated string regions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the regions.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.MultiRegionSettings.Builder newBuilderForType()
Returns
Type Description
Service.MultiRegionSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Service.MultiRegionSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Service.MultiRegionSettings.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.MultiRegionSettings.Builder toBuilder()
Returns
Type Description
Service.MultiRegionSettings.Builder

writeTo(CodedOutputStream output)

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