public final class GKEWorkload extends GeneratedMessage implements GKEWorkloadOrBuilderGKEWorkload represents the Google Kubernetes Engine runtime.
Protobuf type google.cloud.developerconnect.v1.GKEWorkload
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GKEWorkloadImplements
GKEWorkloadOrBuilderStatic Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DEPLOYMENT_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static GKEWorkload getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static GKEWorkload.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
GKEWorkload.Builder |
|
newBuilder(GKEWorkload prototype)
public static GKEWorkload.Builder newBuilder(GKEWorkload prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
GKEWorkload |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload.Builder |
|
parseDelimitedFrom(InputStream input)
public static GKEWorkload parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GKEWorkload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static GKEWorkload parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GKEWorkload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static GKEWorkload parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GKEWorkload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static GKEWorkload parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GKEWorkload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static GKEWorkload parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GKEWorkload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static GKEWorkload parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GKEWorkload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<GKEWorkload> parser()| Returns | |
|---|---|
| Type | Description |
Parser<GKEWorkload> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCluster()
public String getCluster() Required. Immutable. The name of the GKE cluster.
Format:
projects/{project}/locations/{location}/clusters/{cluster}.
string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The cluster. |
getClusterBytes()
public ByteString getClusterBytes() Required. Immutable. The name of the GKE cluster.
Format:
projects/{project}/locations/{location}/clusters/{cluster}.
string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cluster. |
getDefaultInstanceForType()
public GKEWorkload getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GKEWorkload |
|
getDeployment()
public String getDeployment() Output only. The name of the GKE deployment.
Format:
projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}.
string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The deployment. |
getDeploymentBytes()
public ByteString getDeploymentBytes() Output only. The name of the GKE deployment.
Format:
projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}.
string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployment. |
getParserForType()
public Parser<GKEWorkload> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<GKEWorkload> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public GKEWorkload.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
GKEWorkload.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GKEWorkload.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
GKEWorkload.Builder |
|
toBuilder()
public GKEWorkload.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
GKEWorkload.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|