public final class AwsInstancePlacement extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
TENANCY_FIELD_NUMBER
public static final int TENANCY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AwsInstancePlacement getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AwsInstancePlacement.Builder newBuilder()
newBuilder(AwsInstancePlacement prototype)
public static AwsInstancePlacement.Builder newBuilder(AwsInstancePlacement prototype)
public static AwsInstancePlacement parseDelimitedFrom(InputStream input)
public static AwsInstancePlacement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AwsInstancePlacement parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsInstancePlacement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AwsInstancePlacement parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsInstancePlacement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsInstancePlacement parseFrom(CodedInputStream input)
public static AwsInstancePlacement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AwsInstancePlacement parseFrom(InputStream input)
public static AwsInstancePlacement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AwsInstancePlacement parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsInstancePlacement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AwsInstancePlacement> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AwsInstancePlacement getDefaultInstanceForType()
getParserForType()
public Parser<AwsInstancePlacement> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AwsInstancePlacement.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsInstancePlacement.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AwsInstancePlacement.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides