Class ApplianceVersion.Builder (1.20.0)

public static final class ApplianceVersion.Builder extends GeneratedMessageV3.Builder<ApplianceVersion.Builder> implements ApplianceVersionOrBuilder

Describes an appliance version.

Protobuf type google.cloud.vmmigration.v1.ApplianceVersion

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApplianceVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

build()

public ApplianceVersion build()
Returns
TypeDescription
ApplianceVersion

buildPartial()

public ApplianceVersion buildPartial()
Returns
TypeDescription
ApplianceVersion

clear()

public ApplianceVersion.Builder clear()
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

clearCritical()

public ApplianceVersion.Builder clearCritical()

Determine whether it's critical to upgrade the appliance to this version.

bool critical = 3;

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ApplianceVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApplianceVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

clearReleaseNotesUri()

public ApplianceVersion.Builder clearReleaseNotesUri()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

clearUri()

public ApplianceVersion.Builder clearUri()

A link for downloading the version.

string uri = 2;

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

clearVersion()

public ApplianceVersion.Builder clearVersion()

The appliance version.

string version = 1;

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

clone()

public ApplianceVersion.Builder clone()
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

getCritical()

public boolean getCritical()

Determine whether it's critical to upgrade the appliance to this version.

bool critical = 3;

Returns
TypeDescription
boolean

The critical.

getDefaultInstanceForType()

public ApplianceVersion getDefaultInstanceForType()
Returns
TypeDescription
ApplianceVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReleaseNotesUri()

public String getReleaseNotesUri()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
TypeDescription
String

The releaseNotesUri.

getReleaseNotesUriBytes()

public ByteString getReleaseNotesUriBytes()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
TypeDescription
ByteString

The bytes for releaseNotesUri.

getUri()

public String getUri()

A link for downloading the version.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

A link for downloading the version.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

getVersion()

public String getVersion()

The appliance version.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The appliance version.

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ApplianceVersion other)

public ApplianceVersion.Builder mergeFrom(ApplianceVersion other)
Parameter
NameDescription
otherApplianceVersion
Returns
TypeDescription
ApplianceVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApplianceVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApplianceVersion.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ApplianceVersion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApplianceVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

setCritical(boolean value)

public ApplianceVersion.Builder setCritical(boolean value)

Determine whether it's critical to upgrade the appliance to this version.

bool critical = 3;

Parameter
NameDescription
valueboolean

The critical to set.

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ApplianceVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

setReleaseNotesUri(String value)

public ApplianceVersion.Builder setReleaseNotesUri(String value)

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Parameter
NameDescription
valueString

The releaseNotesUri to set.

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

setReleaseNotesUriBytes(ByteString value)

public ApplianceVersion.Builder setReleaseNotesUriBytes(ByteString value)

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Parameter
NameDescription
valueByteString

The bytes for releaseNotesUri to set.

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ApplianceVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApplianceVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApplianceVersion.Builder
Overrides

setUri(String value)

public ApplianceVersion.Builder setUri(String value)

A link for downloading the version.

string uri = 2;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

setUriBytes(ByteString value)

public ApplianceVersion.Builder setUriBytes(ByteString value)

A link for downloading the version.

string uri = 2;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

setVersion(String value)

public ApplianceVersion.Builder setVersion(String value)

The appliance version.

string version = 1;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public ApplianceVersion.Builder setVersionBytes(ByteString value)

The appliance version.

string version = 1;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
ApplianceVersion.Builder

This builder for chaining.