public final class DistributionPolicy extends GeneratedMessageV3 implements DistributionPolicyOrBuilder
Protobuf type google.cloud.compute.v1.DistributionPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
TARGET_SHAPE_FIELD_NUMBER
public static final int TARGET_SHAPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ZONES_FIELD_NUMBER
public static final int ZONES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DistributionPolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DistributionPolicy.Builder newBuilder()
newBuilder(DistributionPolicy prototype)
public static DistributionPolicy.Builder newBuilder(DistributionPolicy prototype)
public static DistributionPolicy parseDelimitedFrom(InputStream input)
public static DistributionPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DistributionPolicy parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DistributionPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DistributionPolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DistributionPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DistributionPolicy parseFrom(CodedInputStream input)
public static DistributionPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DistributionPolicy parseFrom(InputStream input)
public static DistributionPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DistributionPolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DistributionPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DistributionPolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DistributionPolicy getDefaultInstanceForType()
getParserForType()
public Parser<DistributionPolicy> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DistributionPolicy.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DistributionPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DistributionPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides