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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsInstancePlacement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AwsInstancePlacement build()
buildPartial()
public AwsInstancePlacement buildPartial()
clear()
public AwsInstancePlacement.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AwsInstancePlacement.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsInstancePlacement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTenancy()
public AwsInstancePlacement.Builder clearTenancy()
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public AwsInstancePlacement.Builder clone()
Overrides
getDefaultInstanceForType()
public AwsInstancePlacement getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTenancy()
public AwsInstancePlacement.Tenancy getTenancy()
Required. The tenancy for instance.
.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AwsInstancePlacement other)
public AwsInstancePlacement.Builder mergeFrom(AwsInstancePlacement other)
public AwsInstancePlacement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AwsInstancePlacement.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsInstancePlacement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AwsInstancePlacement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsInstancePlacement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsInstancePlacement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides