public static final class InstancesSetMachineTypeRequest.Builder extends GeneratedMessageV3.Builder<InstancesSetMachineTypeRequest.Builder> implements InstancesSetMachineTypeRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstancesSetMachineTypeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 InstancesSetMachineTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstancesSetMachineTypeRequest build()
buildPartial()
public InstancesSetMachineTypeRequest buildPartial()
clear()
public InstancesSetMachineTypeRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstancesSetMachineTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMachineType()
public InstancesSetMachineTypeRequest.Builder clearMachineType()
Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
optional string machine_type = 227711026;
clearOneof(Descriptors.OneofDescriptor oneof)
public InstancesSetMachineTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstancesSetMachineTypeRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public InstancesSetMachineTypeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMachineType()
public String getMachineType()
Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
optional string machine_type = 227711026;
Returns |
---|
Type | Description |
String | The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
optional string machine_type = 227711026;
Returns |
---|
Type | Description |
ByteString | The bytes for machineType.
|
hasMachineType()
public boolean hasMachineType()
Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
optional string machine_type = 227711026;
Returns |
---|
Type | Description |
boolean | Whether the machineType field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstancesSetMachineTypeRequest other)
public InstancesSetMachineTypeRequest.Builder mergeFrom(InstancesSetMachineTypeRequest other)
public InstancesSetMachineTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstancesSetMachineTypeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstancesSetMachineTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InstancesSetMachineTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMachineType(String value)
public InstancesSetMachineTypeRequest.Builder setMachineType(String value)
Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
optional string machine_type = 227711026;
Parameter |
---|
Name | Description |
value | String
The machineType to set.
|
setMachineTypeBytes(ByteString value)
public InstancesSetMachineTypeRequest.Builder setMachineTypeBytes(ByteString value)
Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
optional string machine_type = 227711026;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for machineType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstancesSetMachineTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstancesSetMachineTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides