Class ImportAttachedClusterRequest (0.47.0)

public final class ImportAttachedClusterRequest extends GeneratedMessageV3 implements ImportAttachedClusterRequestOrBuilder

Request message for AttachedClusters.ImportAttachedCluster method.

Protobuf type google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest

Static Fields

DISTRIBUTION_FIELD_NUMBER

public static final int DISTRIBUTION_FIELD_NUMBER
Field Value
Type Description
int

FLEET_MEMBERSHIP_FIELD_NUMBER

public static final int FLEET_MEMBERSHIP_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

PLATFORM_VERSION_FIELD_NUMBER

public static final int PLATFORM_VERSION_FIELD_NUMBER
Field Value
Type Description
int

PROXY_CONFIG_FIELD_NUMBER

public static final int PROXY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportAttachedClusterRequest getDefaultInstance()
Returns
Type Description
ImportAttachedClusterRequest

getDescriptor()

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

newBuilder()

public static ImportAttachedClusterRequest.Builder newBuilder()
Returns
Type Description
ImportAttachedClusterRequest.Builder

newBuilder(ImportAttachedClusterRequest prototype)

public static ImportAttachedClusterRequest.Builder newBuilder(ImportAttachedClusterRequest prototype)
Parameter
Name Description
prototype ImportAttachedClusterRequest
Returns
Type Description
ImportAttachedClusterRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportAttachedClusterRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAttachedClusterRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportAttachedClusterRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportAttachedClusterRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportAttachedClusterRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportAttachedClusterRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportAttachedClusterRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAttachedClusterRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportAttachedClusterRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAttachedClusterRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportAttachedClusterRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportAttachedClusterRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAttachedClusterRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportAttachedClusterRequest> parser()
Returns
Type Description
Parser<ImportAttachedClusterRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImportAttachedClusterRequest getDefaultInstanceForType()
Returns
Type Description
ImportAttachedClusterRequest

getDistribution()

public String getDistribution()

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks"].

string distribution = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The distribution.

getDistributionBytes()

public ByteString getDistributionBytes()

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks"].

string distribution = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for distribution.

getFleetMembership()

public String getFleetMembership()

Required. The name of the fleet membership resource to import.

string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The fleetMembership.

getFleetMembershipBytes()

public ByteString getFleetMembershipBytes()

Required. The name of the fleet membership resource to import.

string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for fleetMembership.

getParent()

public String getParent()

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<ImportAttachedClusterRequest> getParserForType()
Returns
Type Description
Parser<ImportAttachedClusterRequest>
Overrides

getPlatformVersion()

public String getPlatformVersion()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The platformVersion.

getPlatformVersionBytes()

public ByteString getPlatformVersionBytes()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for platformVersion.

getProxyConfig()

public AttachedProxyConfig getProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedProxyConfig

The proxyConfig.

getProxyConfigOrBuilder()

public AttachedProxyConfigOrBuilder getProxyConfigOrBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedProxyConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValidateOnly()

public boolean getValidateOnly()

If set, only validate the request, but do not actually import the cluster.

bool validate_only = 2;

Returns
Type Description
boolean

The validateOnly.

hasProxyConfig()

public boolean hasProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the proxyConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportAttachedClusterRequest.Builder newBuilderForType()
Returns
Type Description
ImportAttachedClusterRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportAttachedClusterRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportAttachedClusterRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportAttachedClusterRequest.Builder toBuilder()
Returns
Type Description
ImportAttachedClusterRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException