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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsInstancePlacement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AwsInstancePlacement build()
Returns
buildPartial()
public AwsInstancePlacement buildPartial()
Returns
clear()
public AwsInstancePlacement.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AwsInstancePlacement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsInstancePlacement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTenancy()
public AwsInstancePlacement.Builder clearTenancy()
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public AwsInstancePlacement.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AwsInstancePlacement getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTenancy()
public AwsInstancePlacement.Tenancy getTenancy()
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTenancyValue()
public int getTenancyValue()
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for tenancy.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AwsInstancePlacement other)
public AwsInstancePlacement.Builder mergeFrom(AwsInstancePlacement other)
Parameter
Returns
public AwsInstancePlacement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AwsInstancePlacement.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsInstancePlacement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AwsInstancePlacement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsInstancePlacement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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];
Parameter
Returns
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];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for tenancy to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsInstancePlacement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides