public static final class ManagedInstanceVersion.Builder extends GeneratedMessage.Builder<ManagedInstanceVersion.Builder> implements ManagedInstanceVersionOrBuilder Protobuf type google.cloud.compute.v1.ManagedInstanceVersion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ManagedInstanceVersion.BuilderImplements
ManagedInstanceVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ManagedInstanceVersion build()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion |
|
buildPartial()
public ManagedInstanceVersion buildPartial()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion |
|
clear()
public ManagedInstanceVersion.Builder clear()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
|
clearInstanceTemplate()
public ManagedInstanceVersion.Builder clearInstanceTemplate()Output only. [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 |
ManagedInstanceVersion.Builder |
This builder for chaining. |
clearName()
public ManagedInstanceVersion.Builder clearName()Output only. [Output Only] Name of the version.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ManagedInstanceVersion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstanceTemplate()
public String getInstanceTemplate()Output only. [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. [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()
public String getName()Output only. [Output Only] Name of the version.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. [Output Only] Name of the version.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasInstanceTemplate()
public boolean hasInstanceTemplate()Output only. [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()
public boolean hasName()Output only. [Output Only] Name of the version.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ManagedInstanceVersion other)
public ManagedInstanceVersion.Builder mergeFrom(ManagedInstanceVersion other)| Parameter | |
|---|---|
| Name | Description |
other |
ManagedInstanceVersion |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ManagedInstanceVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ManagedInstanceVersion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
|
setInstanceTemplate(String value)
public ManagedInstanceVersion.Builder setInstanceTemplate(String value)Output only. [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 |
StringThe instanceTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
This builder for chaining. |
setInstanceTemplateBytes(ByteString value)
public ManagedInstanceVersion.Builder setInstanceTemplateBytes(ByteString value)Output only. [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 |
ByteStringThe bytes for instanceTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
This builder for chaining. |
setName(String value)
public ManagedInstanceVersion.Builder setName(String value)Output only. [Output Only] Name of the version.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ManagedInstanceVersion.Builder setNameBytes(ByteString value)Output only. [Output Only] Name of the version.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion.Builder |
This builder for chaining. |