public static final class ManagedInstanceVersion.Builder extends GeneratedMessageV3.Builder<ManagedInstanceVersion.Builder> implements ManagedInstanceVersionOrBuilder
Protobuf type google.cloud.compute.v1.ManagedInstanceVersion
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ManagedInstanceVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ManagedInstanceVersion build()
Returns
buildPartial()
public ManagedInstanceVersion buildPartial()
Returns
clear()
public ManagedInstanceVersion.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ManagedInstanceVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstanceTemplate()
public ManagedInstanceVersion.Builder clearInstanceTemplate()
[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.
optional string instance_template = 309248228;
Returns
clearName()
public ManagedInstanceVersion.Builder clearName()
[Output Only] Name of the version.
optional string name = 3373707;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ManagedInstanceVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ManagedInstanceVersion.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ManagedInstanceVersion getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInstanceTemplate()
public String getInstanceTemplate()
[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.
optional string instance_template = 309248228;
Returns
Type | Description |
String | The instanceTemplate.
|
getInstanceTemplateBytes()
public ByteString getInstanceTemplateBytes()
[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.
optional string instance_template = 309248228;
Returns
Type | Description |
ByteString | The bytes for instanceTemplate.
|
getName()
[Output Only] Name of the version.
optional string name = 3373707;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
[Output Only] Name of the version.
optional string name = 3373707;
Returns
hasInstanceTemplate()
public boolean hasInstanceTemplate()
[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.
optional string instance_template = 309248228;
Returns
Type | Description |
boolean | Whether the instanceTemplate field is set.
|
hasName()
[Output Only] Name of the version.
optional string name = 3373707;
Returns
Type | Description |
boolean | Whether the name field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ManagedInstanceVersion other)
public ManagedInstanceVersion.Builder mergeFrom(ManagedInstanceVersion other)
Parameter
Returns
public ManagedInstanceVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ManagedInstanceVersion.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ManagedInstanceVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ManagedInstanceVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstanceTemplate(String value)
public ManagedInstanceVersion.Builder setInstanceTemplate(String value)
[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.
optional string instance_template = 309248228;
Parameter
Name | Description |
value | String
The instanceTemplate to set.
|
Returns
setInstanceTemplateBytes(ByteString value)
public ManagedInstanceVersion.Builder setInstanceTemplateBytes(ByteString value)
[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.
optional string instance_template = 309248228;
Parameter
Name | Description |
value | ByteString
The bytes for instanceTemplate to set.
|
Returns
setName(String value)
public ManagedInstanceVersion.Builder setName(String value)
[Output Only] Name of the version.
optional string name = 3373707;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public ManagedInstanceVersion.Builder setNameBytes(ByteString value)
[Output Only] Name of the version.
optional string name = 3373707;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ManagedInstanceVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ManagedInstanceVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides