- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class AwsInstancePlacement.Builder extends GeneratedMessageV3.Builder<AwsInstancePlacement.Builder> implements AwsInstancePlacementOrBuilder
Details of placement information for an instance.
Limitations for using the host
tenancy:
- T3 instances that use the unlimited CPU credit option don't support host tenancy.
Protobuf type google.cloud.gkemulticloud.v1.AwsInstancePlacement
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AwsInstancePlacement.BuilderImplements
AwsInstancePlacementOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsInstancePlacement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AwsInstancePlacement.Builder |
build()
public AwsInstancePlacement build()
Type | Description |
AwsInstancePlacement |
buildPartial()
public AwsInstancePlacement buildPartial()
Type | Description |
AwsInstancePlacement |
clear()
public AwsInstancePlacement.Builder clear()
Type | Description |
AwsInstancePlacement.Builder |
clearField(Descriptors.FieldDescriptor field)
public AwsInstancePlacement.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AwsInstancePlacement.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsInstancePlacement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AwsInstancePlacement.Builder |
clearTenancy()
public AwsInstancePlacement.Builder clearTenancy()
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsInstancePlacement.Builder | This builder for chaining. |
clone()
public AwsInstancePlacement.Builder clone()
Type | Description |
AwsInstancePlacement.Builder |
getDefaultInstanceForType()
public AwsInstancePlacement getDefaultInstanceForType()
Type | Description |
AwsInstancePlacement |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getTenancy()
public AwsInstancePlacement.Tenancy getTenancy()
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsInstancePlacement.Tenancy | The tenancy. |
getTenancyValue()
public int getTenancyValue()
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for tenancy. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AwsInstancePlacement other)
public AwsInstancePlacement.Builder mergeFrom(AwsInstancePlacement other)
Name | Description |
other | AwsInstancePlacement |
Type | Description |
AwsInstancePlacement.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AwsInstancePlacement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AwsInstancePlacement.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AwsInstancePlacement.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AwsInstancePlacement.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsInstancePlacement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AwsInstancePlacement.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AwsInstancePlacement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AwsInstancePlacement.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsInstancePlacement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AwsInstancePlacement.Builder |
setTenancy(AwsInstancePlacement.Tenancy value)
public AwsInstancePlacement.Builder setTenancy(AwsInstancePlacement.Tenancy value)
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AwsInstancePlacement.Tenancy The tenancy to set. |
Type | Description |
AwsInstancePlacement.Builder | This builder for chaining. |
setTenancyValue(int value)
public AwsInstancePlacement.Builder setTenancyValue(int value)
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for tenancy to set. |
Type | Description |
AwsInstancePlacement.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsInstancePlacement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AwsInstancePlacement.Builder |