public static final class LicenseResourceRequirements.Builder extends GeneratedMessage.Builder<LicenseResourceRequirements.Builder> implements LicenseResourceRequirementsOrBuilder Protobuf type google.cloud.compute.v1.LicenseResourceRequirements
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LicenseResourceRequirements.BuilderImplements
LicenseResourceRequirementsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LicenseResourceRequirements build()| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements |
|
buildPartial()
public LicenseResourceRequirements buildPartial()| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements |
|
clear()
public LicenseResourceRequirements.Builder clear()| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements.Builder |
|
clearMinGuestCpuCount()
public LicenseResourceRequirements.Builder clearMinGuestCpuCount()[Input Only] Deprecated. This field no longer reflects the minimum number of guest cpus required to use the Instance.
optional int32 min_guest_cpu_count = 477964836;
| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements.Builder |
This builder for chaining. |
clearMinMemoryMb()
public LicenseResourceRequirements.Builder clearMinMemoryMb()[Input Only] Deprecated. This field no longer reflects the minimum memory required to use the Instance.
optional int32 min_memory_mb = 504785894;
| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LicenseResourceRequirements getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMinGuestCpuCount()
public int getMinGuestCpuCount()[Input Only] Deprecated. This field no longer reflects the minimum number of guest cpus required to use the Instance.
optional int32 min_guest_cpu_count = 477964836;
| Returns | |
|---|---|
| Type | Description |
int |
The minGuestCpuCount. |
getMinMemoryMb()
public int getMinMemoryMb()[Input Only] Deprecated. This field no longer reflects the minimum memory required to use the Instance.
optional int32 min_memory_mb = 504785894;
| Returns | |
|---|---|
| Type | Description |
int |
The minMemoryMb. |
hasMinGuestCpuCount()
public boolean hasMinGuestCpuCount()[Input Only] Deprecated. This field no longer reflects the minimum number of guest cpus required to use the Instance.
optional int32 min_guest_cpu_count = 477964836;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minGuestCpuCount field is set. |
hasMinMemoryMb()
public boolean hasMinMemoryMb()[Input Only] Deprecated. This field no longer reflects the minimum memory required to use the Instance.
optional int32 min_memory_mb = 504785894;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minMemoryMb field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LicenseResourceRequirements other)
public LicenseResourceRequirements.Builder mergeFrom(LicenseResourceRequirements other)| Parameter | |
|---|---|
| Name | Description |
other |
LicenseResourceRequirements |
| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LicenseResourceRequirements.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LicenseResourceRequirements.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements.Builder |
|
setMinGuestCpuCount(int value)
public LicenseResourceRequirements.Builder setMinGuestCpuCount(int value)[Input Only] Deprecated. This field no longer reflects the minimum number of guest cpus required to use the Instance.
optional int32 min_guest_cpu_count = 477964836;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minGuestCpuCount to set. |
| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements.Builder |
This builder for chaining. |
setMinMemoryMb(int value)
public LicenseResourceRequirements.Builder setMinMemoryMb(int value)[Input Only] Deprecated. This field no longer reflects the minimum memory required to use the Instance.
optional int32 min_memory_mb = 504785894;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minMemoryMb to set. |
| Returns | |
|---|---|
| Type | Description |
LicenseResourceRequirements.Builder |
This builder for chaining. |