Class ApplianceVersion.Builder (1.44.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApplianceVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApplianceVersion.Builder
Overrides

build()

public ApplianceVersion build()
Returns
Type Description
ApplianceVersion

buildPartial()

public ApplianceVersion buildPartial()
Returns
Type Description
ApplianceVersion

clear()

public ApplianceVersion.Builder clear()
Returns
Type Description
ApplianceVersion.Builder
Overrides

clearCritical()

public ApplianceVersion.Builder clearCritical()

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

bool critical = 3;

Returns
Type Description
ApplianceVersion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ApplianceVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ApplianceVersion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApplianceVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ApplianceVersion.Builder
Overrides

clearReleaseNotesUri()

public ApplianceVersion.Builder clearReleaseNotesUri()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
Type Description
ApplianceVersion.Builder

This builder for chaining.

clearUri()

public ApplianceVersion.Builder clearUri()

A link for downloading the version.

string uri = 2;

Returns
Type Description
ApplianceVersion.Builder

This builder for chaining.

clearVersion()

public ApplianceVersion.Builder clearVersion()

The appliance version.

string version = 1;

Returns
Type Description
ApplianceVersion.Builder

This builder for chaining.

clone()

public ApplianceVersion.Builder clone()
Returns
Type Description
ApplianceVersion.Builder
Overrides

getCritical()

public boolean getCritical()

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

bool critical = 3;

Returns
Type Description
boolean

The critical.

getDefaultInstanceForType()

public ApplianceVersion getDefaultInstanceForType()
Returns
Type Description
ApplianceVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReleaseNotesUri()

public String getReleaseNotesUri()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
Type Description
String

The releaseNotesUri.

getReleaseNotesUriBytes()

public ByteString getReleaseNotesUriBytes()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
Type Description
ByteString

The bytes for releaseNotesUri.

getUri()

public String getUri()

A link for downloading the version.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

A link for downloading the version.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

getVersion()

public String getVersion()

The appliance version.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The appliance version.

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApplianceVersion other)

public ApplianceVersion.Builder mergeFrom(ApplianceVersion other)
Parameter
Name Description
other ApplianceVersion
Returns
Type Description
ApplianceVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApplianceVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplianceVersion.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ApplianceVersion.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ApplianceVersion.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApplianceVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value boolean

The critical to set.

Returns
Type Description
ApplianceVersion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ApplianceVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The releaseNotesUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for releaseNotesUri to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ApplianceVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApplianceVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApplianceVersion.Builder
Overrides

setUri(String value)

public ApplianceVersion.Builder setUri(String value)

A link for downloading the version.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
ApplianceVersion.Builder

This builder for chaining.

setVersion(String value)

public ApplianceVersion.Builder setVersion(String value)

The appliance version.

string version = 1;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
ApplianceVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public ApplianceVersion.Builder setVersionBytes(ByteString value)

The appliance version.

string version = 1;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
ApplianceVersion.Builder

This builder for chaining.