public static final class InstanceConsumptionData.Builder extends GeneratedMessageV3.Builder<InstanceConsumptionData.Builder> implements InstanceConsumptionDataOrBuilder
Protobuf type google.cloud.compute.v1.InstanceConsumptionData
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 InstanceConsumptionData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceConsumptionData build()
buildPartial()
public InstanceConsumptionData buildPartial()
clear()
public InstanceConsumptionData.Builder clear()
Overrides
clearConsumptionInfo()
public InstanceConsumptionData.Builder clearConsumptionInfo()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
clearField(Descriptors.FieldDescriptor field)
public InstanceConsumptionData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstance()
public InstanceConsumptionData.Builder clearInstance()
Server-defined URL for the instance.
optional string instance = 18257045;
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceConsumptionData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstanceConsumptionData.Builder clone()
Overrides
getConsumptionInfo()
public InstanceConsumptionInfo getConsumptionInfo()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
getConsumptionInfoBuilder()
public InstanceConsumptionInfo.Builder getConsumptionInfoBuilder()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
getConsumptionInfoOrBuilder()
public InstanceConsumptionInfoOrBuilder getConsumptionInfoOrBuilder()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
getDefaultInstanceForType()
public InstanceConsumptionData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstance()
public String getInstance()
Server-defined URL for the instance.
optional string instance = 18257045;
Returns |
---|
Type | Description |
String | The instance.
|
getInstanceBytes()
public ByteString getInstanceBytes()
Server-defined URL for the instance.
optional string instance = 18257045;
Returns |
---|
Type | Description |
ByteString | The bytes for instance.
|
hasConsumptionInfo()
public boolean hasConsumptionInfo()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
Returns |
---|
Type | Description |
boolean | Whether the consumptionInfo field is set.
|
hasInstance()
public boolean hasInstance()
Server-defined URL for the instance.
optional string instance = 18257045;
Returns |
---|
Type | Description |
boolean | Whether the instance field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConsumptionInfo(InstanceConsumptionInfo value)
public InstanceConsumptionData.Builder mergeConsumptionInfo(InstanceConsumptionInfo value)
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
mergeFrom(InstanceConsumptionData other)
public InstanceConsumptionData.Builder mergeFrom(InstanceConsumptionData other)
public InstanceConsumptionData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceConsumptionData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceConsumptionData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConsumptionInfo(InstanceConsumptionInfo value)
public InstanceConsumptionData.Builder setConsumptionInfo(InstanceConsumptionInfo value)
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
setConsumptionInfo(InstanceConsumptionInfo.Builder builderForValue)
public InstanceConsumptionData.Builder setConsumptionInfo(InstanceConsumptionInfo.Builder builderForValue)
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceConsumptionData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInstance(String value)
public InstanceConsumptionData.Builder setInstance(String value)
Server-defined URL for the instance.
optional string instance = 18257045;
Parameter |
---|
Name | Description |
value | String
The instance to set.
|
setInstanceBytes(ByteString value)
public InstanceConsumptionData.Builder setInstanceBytes(ByteString value)
Server-defined URL for the instance.
optional string instance = 18257045;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for instance to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceConsumptionData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceConsumptionData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides