public final class DistributionPolicy extends GeneratedMessageV3 implements DistributionPolicyOrBuilder
Protobuf type google.cloud.compute.v1.DistributionPolicy
Fields
TARGET_SHAPE_FIELD_NUMBER
public static final int TARGET_SHAPE_FIELD_NUMBER
Field Value
ZONES_FIELD_NUMBER
public static final int ZONES_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static DistributionPolicy getDefaultInstance()
Returns
getDefaultInstanceForType()
public DistributionPolicy getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<DistributionPolicy> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTargetShape()
public String getTargetShape()
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
Check the TargetShape enum for the list of possible values.
optional string target_shape = 338621299;
Returns
Type | Description |
String | The targetShape.
|
getTargetShapeBytes()
public ByteString getTargetShapeBytes()
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
Check the TargetShape enum for the list of possible values.
optional string target_shape = 338621299;
Returns
Type | Description |
ByteString | The bytes for targetShape.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getZones(int index)
public DistributionPolicyZoneConfiguration getZones(int index)
Zones where the regional managed instance group will create and manage its instances.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319;
Parameter
Returns
getZonesCount()
public int getZonesCount()
Zones where the regional managed instance group will create and manage its instances.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319;
Returns
getZonesList()
public List<DistributionPolicyZoneConfiguration> getZonesList()
Zones where the regional managed instance group will create and manage its instances.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319;
Returns
getZonesOrBuilder(int index)
public DistributionPolicyZoneConfigurationOrBuilder getZonesOrBuilder(int index)
Zones where the regional managed instance group will create and manage its instances.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319;
Parameter
Returns
getZonesOrBuilderList()
public List<? extends DistributionPolicyZoneConfigurationOrBuilder> getZonesOrBuilderList()
Zones where the regional managed instance group will create and manage its instances.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.DistributionPolicyZoneConfigurationOrBuilder> | |
hasTargetShape()
public boolean hasTargetShape()
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
Check the TargetShape enum for the list of possible values.
optional string target_shape = 338621299;
Returns
Type | Description |
boolean | Whether the targetShape field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static DistributionPolicy.Builder newBuilder()
Returns
newBuilder(DistributionPolicy prototype)
public static DistributionPolicy.Builder newBuilder(DistributionPolicy prototype)
Parameter
Returns
newBuilderForType()
public DistributionPolicy.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DistributionPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static DistributionPolicy parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DistributionPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DistributionPolicy parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DistributionPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DistributionPolicy parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DistributionPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DistributionPolicy parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DistributionPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DistributionPolicy parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DistributionPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DistributionPolicy parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DistributionPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DistributionPolicy> parser()
Returns
toBuilder()
public DistributionPolicy.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions