public static final class MachineSeries.Builder extends GeneratedMessageV3.Builder<MachineSeries.Builder> implements MachineSeriesOrBuilder
A Compute Engine machine series.
Protobuf type google.cloud.migrationcenter.v1.MachineSeries
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 MachineSeries.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MachineSeries build()
buildPartial()
public MachineSeries buildPartial()
clear()
public MachineSeries.Builder clear()
Overrides
clearCode()
public MachineSeries.Builder clearCode()
clearField(Descriptors.FieldDescriptor field)
public MachineSeries.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MachineSeries.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MachineSeries.Builder clone()
Overrides
getCode()
Returns |
---|
Type | Description |
String | The code.
|
getCodeBytes()
public ByteString getCodeBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for code.
|
getDefaultInstanceForType()
public MachineSeries getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MachineSeries other)
public MachineSeries.Builder mergeFrom(MachineSeries other)
public MachineSeries.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MachineSeries.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MachineSeries.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCode(String value)
public MachineSeries.Builder setCode(String value)
Parameter |
---|
Name | Description |
value | String
The code to set.
|
setCodeBytes(ByteString value)
public MachineSeries.Builder setCodeBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for code to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MachineSeries.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MachineSeries.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MachineSeries.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides