Class GKEDeploymentTarget (0.3.0)

public final class GKEDeploymentTarget extends GeneratedMessage implements GKEDeploymentTargetOrBuilder

The GKE deployment target.

Protobuf type google.cloud.designcenter.v1.GKEDeploymentTarget

Static Fields

public static final int CLUSTER_SELF_LINK_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_SERVICE_ACCOUNT_CREATION_FIELD_NUMBER

public static final int KUBERNETES_SERVICE_ACCOUNT_CREATION_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

NAMESPACE_FIELD_NUMBER

public static final int NAMESPACE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GKEDeploymentTarget getDefaultInstance()
Returns
Type Description
GKEDeploymentTarget

getDescriptor()

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

newBuilder()

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

newBuilder(GKEDeploymentTarget prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

Required. The self link of the cluster where GKE based application is deployed.

string cluster_self_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The clusterSelfLink.

getClusterSelfLinkBytes()

public ByteString getClusterSelfLinkBytes()

Required. The self link of the cluster where GKE based application is deployed.

string cluster_self_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for clusterSelfLink.

getDefaultInstanceForType()

public GKEDeploymentTarget getDefaultInstanceForType()
Returns
Type Description
GKEDeploymentTarget

getKubernetesServiceAccount()

public String getKubernetesServiceAccount()

Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa

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

Returns
Type Description
String

The kubernetesServiceAccount.

getKubernetesServiceAccountBytes()

public ByteString getKubernetesServiceAccountBytes()

Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa

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

Returns
Type Description
ByteString

The bytes for kubernetesServiceAccount.

getKubernetesServiceAccountCreation()

public boolean getKubernetesServiceAccountCreation()

Optional. Whether to create the provided KSA. If true, the KSA will be created in the namespace provided above. If false, the KSA is expected to already exist in the namespace provided above.

bool kubernetes_service_account_creation = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The kubernetesServiceAccountCreation.

getNamespace()

public String getNamespace()

Required. The namespace where the application is deployed.

string namespace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The namespace.

getNamespaceBytes()

public ByteString getNamespaceBytes()

Required. The namespace where the application is deployed.

string namespace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for namespace.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GKEDeploymentTarget.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GKEDeploymentTarget.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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