public static final class AzureVmDetails.OSDescription.Builder extends GeneratedMessage.Builder<AzureVmDetails.OSDescription.Builder> implements AzureVmDetails.OSDescriptionOrBuilderA message describing the VM's OS. Including OS, Publisher, Offer and Plan if applicable.
Protobuf type google.cloud.vmmigration.v1.AzureVmDetails.OSDescription
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AzureVmDetails.OSDescription.BuilderImplements
AzureVmDetails.OSDescriptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AzureVmDetails.OSDescription build()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription |
|
buildPartial()
public AzureVmDetails.OSDescription buildPartial()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription |
|
clear()
public AzureVmDetails.OSDescription.Builder clear()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
|
clearOffer()
public AzureVmDetails.OSDescription.Builder clearOffer()OS offer.
string offer = 3;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
clearPlan()
public AzureVmDetails.OSDescription.Builder clearPlan()OS plan.
string plan = 4;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
clearPublisher()
public AzureVmDetails.OSDescription.Builder clearPublisher()OS publisher.
string publisher = 2;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
clearType()
public AzureVmDetails.OSDescription.Builder clearType()OS type.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AzureVmDetails.OSDescription getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOffer()
public String getOffer()OS offer.
string offer = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The offer. |
getOfferBytes()
public ByteString getOfferBytes()OS offer.
string offer = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for offer. |
getPlan()
public String getPlan()OS plan.
string plan = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The plan. |
getPlanBytes()
public ByteString getPlanBytes()OS plan.
string plan = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for plan. |
getPublisher()
public String getPublisher()OS publisher.
string publisher = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The publisher. |
getPublisherBytes()
public ByteString getPublisherBytes()OS publisher.
string publisher = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for publisher. |
getType()
public String getType()OS type.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()OS type.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AzureVmDetails.OSDescription other)
public AzureVmDetails.OSDescription.Builder mergeFrom(AzureVmDetails.OSDescription other)| Parameter | |
|---|---|
| Name | Description |
other |
AzureVmDetails.OSDescription |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AzureVmDetails.OSDescription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AzureVmDetails.OSDescription.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
|
setOffer(String value)
public AzureVmDetails.OSDescription.Builder setOffer(String value)OS offer.
string offer = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe offer to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
setOfferBytes(ByteString value)
public AzureVmDetails.OSDescription.Builder setOfferBytes(ByteString value)OS offer.
string offer = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for offer to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
setPlan(String value)
public AzureVmDetails.OSDescription.Builder setPlan(String value)OS plan.
string plan = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe plan to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
setPlanBytes(ByteString value)
public AzureVmDetails.OSDescription.Builder setPlanBytes(ByteString value)OS plan.
string plan = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for plan to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
setPublisher(String value)
public AzureVmDetails.OSDescription.Builder setPublisher(String value)OS publisher.
string publisher = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe publisher to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
setPublisherBytes(ByteString value)
public AzureVmDetails.OSDescription.Builder setPublisherBytes(ByteString value)OS publisher.
string publisher = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for publisher to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
setType(String value)
public AzureVmDetails.OSDescription.Builder setType(String value)OS type.
string type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public AzureVmDetails.OSDescription.Builder setTypeBytes(ByteString value)OS type.
string type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails.OSDescription.Builder |
This builder for chaining. |