public final class AnthosCluster extends GeneratedMessageV3 implements AnthosClusterOrBuilder
Information specifying an Anthos Cluster.
Protobuf type google.cloud.deploy.v1.AnthosCluster
Static Fields
MEMBERSHIP_FIELD_NUMBER
public static final int MEMBERSHIP_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AnthosCluster getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AnthosCluster.Builder newBuilder()
Returns
newBuilder(AnthosCluster prototype)
public static AnthosCluster.Builder newBuilder(AnthosCluster prototype)
Parameter
Returns
public static AnthosCluster parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnthosCluster parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnthosCluster parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnthosCluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnthosCluster parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnthosCluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnthosCluster parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnthosCluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnthosCluster parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnthosCluster parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnthosCluster parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnthosCluster parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AnthosCluster> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AnthosCluster getDefaultInstanceForType()
Returns
getMembership()
public String getMembership()
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format is
projects/{project}/locations/{location}/memberships/{membership_name}
.
string membership = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The membership.
|
getMembershipBytes()
public ByteString getMembershipBytes()
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format is
projects/{project}/locations/{location}/memberships/{membership_name}
.
string membership = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for membership.
|
getParserForType()
public Parser<AnthosCluster> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AnthosCluster.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnthosCluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AnthosCluster.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions