Package com.google.cloud.compute.v1
Interface DistributionPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DistributionPolicy
,DistributionPolicy.Builder
public interface DistributionPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getTargetShape()
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).com.google.protobuf.ByteString
getTargetShapeBytes()
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).DistributionPolicyZoneConfiguration
getZones(int index)
Zones where the regional managed instance group will create and manage its instances.int
getZonesCount()
Zones where the regional managed instance group will create and manage its instances.List<DistributionPolicyZoneConfiguration>
getZonesList()
Zones where the regional managed instance group will create and manage its instances.DistributionPolicyZoneConfigurationOrBuilder
getZonesOrBuilder(int index)
Zones where the regional managed instance group will create and manage its instances.List<? extends DistributionPolicyZoneConfigurationOrBuilder>
getZonesOrBuilderList()
Zones where the regional managed instance group will create and manage its instances.boolean
hasTargetShape()
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTargetShape
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:
- Whether the targetShape field is set.
-
getTargetShape
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:
- The targetShape.
-
getTargetShapeBytes
com.google.protobuf.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:
- The bytes for targetShape.
-
getZonesList
List<DistributionPolicyZoneConfiguration> getZonesList()
Zones where the regional managed instance group will create and manage its instances.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319;
-
getZones
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;
-
getZonesCount
int getZonesCount()
Zones where the regional managed instance group will create and manage its instances.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319;
-
getZonesOrBuilderList
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;
-
getZonesOrBuilder
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;
-
-