Class DistributionPolicyZoneConfiguration (1.41.0)

public final class DistributionPolicyZoneConfiguration extends GeneratedMessageV3 implements DistributionPolicyZoneConfigurationOrBuilder

Protobuf type google.cloud.compute.v1.DistributionPolicyZoneConfiguration

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DistributionPolicyZoneConfiguration

Static Fields

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DistributionPolicyZoneConfiguration getDefaultInstance()
Returns
TypeDescription
DistributionPolicyZoneConfiguration

getDescriptor()

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

newBuilder()

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

newBuilder(DistributionPolicyZoneConfiguration prototype)

public static DistributionPolicyZoneConfiguration.Builder newBuilder(DistributionPolicyZoneConfiguration prototype)
Parameter
NameDescription
prototypeDistributionPolicyZoneConfiguration
Returns
TypeDescription
DistributionPolicyZoneConfiguration.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DistributionPolicyZoneConfiguration getDefaultInstanceForType()
Returns
TypeDescription
DistributionPolicyZoneConfiguration

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getZone()

public String getZone()

The URL of the zone. The zone must exist in the region where the managed instance group is located.

optional string zone = 3744684;

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The URL of the zone. The zone must exist in the region where the managed instance group is located.

optional string zone = 3744684;

Returns
TypeDescription
ByteString

The bytes for zone.

hasZone()

public boolean hasZone()

The URL of the zone. The zone must exist in the region where the managed instance group is located.

optional string zone = 3744684;

Returns
TypeDescription
boolean

Whether the zone field is set.

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 DistributionPolicyZoneConfiguration.Builder newBuilderForType()
Returns
TypeDescription
DistributionPolicyZoneConfiguration.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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