Class ApplianceCluster.Builder (1.54.0)

public static final class ApplianceCluster.Builder extends GeneratedMessageV3.Builder<ApplianceCluster.Builder> implements ApplianceClusterOrBuilder

ApplianceCluster contains information specific to GDC Edge Appliance Clusters.

Protobuf type google.cloud.gkehub.v1beta1.ApplianceCluster

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApplianceCluster build()
Returns
Type Description
ApplianceCluster

buildPartial()

public ApplianceCluster buildPartial()
Returns
Type Description
ApplianceCluster

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

Immutable. Self-link of the GCP resource for the Appliance Cluster. For example:

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ApplianceCluster.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ApplianceCluster getDefaultInstanceForType()
Returns
Type Description
ApplianceCluster

getDescriptorForType()

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

Immutable. Self-link of the GCP resource for the Appliance Cluster. For example:

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The resourceLink.

getResourceLinkBytes()

public ByteString getResourceLinkBytes()

Immutable. Self-link of the GCP resource for the Appliance Cluster. For example:

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for resourceLink.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApplianceCluster other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApplianceCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApplianceCluster.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ApplianceCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ApplianceCluster.Builder
Overrides
public ApplianceCluster.Builder setResourceLink(String value)

Immutable. Self-link of the GCP resource for the Appliance Cluster. For example:

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The resourceLink to set.

Returns
Type Description
ApplianceCluster.Builder

This builder for chaining.

setResourceLinkBytes(ByteString value)

public ApplianceCluster.Builder setResourceLinkBytes(ByteString value)

Immutable. Self-link of the GCP resource for the Appliance Cluster. For example:

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for resourceLink to set.

Returns
Type Description
ApplianceCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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