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.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 ManagedInstanceVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ManagedInstanceVersion build()
buildPartial()
public ManagedInstanceVersion buildPartial()
clear()
public ManagedInstanceVersion.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ManagedInstanceVersion.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearName()
public ManagedInstanceVersion.Builder clearName()
[Output Only] Name of the version.
optional string name = 3373707;
clearOneof(Descriptors.OneofDescriptor oneof)
public ManagedInstanceVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ManagedInstanceVersion.Builder clone()
Overrides
getDefaultInstanceForType()
public ManagedInstanceVersion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ManagedInstanceVersion other)
public ManagedInstanceVersion.Builder mergeFrom(ManagedInstanceVersion other)
public ManagedInstanceVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ManagedInstanceVersion.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ManagedInstanceVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ManagedInstanceVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ManagedInstanceVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ManagedInstanceVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides