Package com.google.cloud.gkehub.v1alpha2
Class Membership
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.gkehub.v1alpha2.Membership
-
- All Implemented Interfaces:
MembershipOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Membership extends com.google.protobuf.GeneratedMessageV3 implements MembershipOrBuilder
Membership contains information about a member cluster.
Protobuf typegoogle.cloud.gkehub.v1alpha2.Membership- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMembership.BuilderMembership contains information about a member cluster.static classMembership.InfrastructureTypeSpecifies the infrastructure type of a Membership.static classMembership.TypeCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTHORITY_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDELETE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intENDPOINT_FIELD_NUMBERstatic intEXTERNAL_ID_FIELD_NUMBERstatic intINFRASTRUCTURE_TYPE_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLAST_CONNECTION_TIME_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUNIQUE_ID_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.booleanequals(Object obj)AuthoritygetAuthority()Optional.AuthorityOrBuildergetAuthorityOrBuilder()Optional.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static MembershipgetDefaultInstance()MembershipgetDefaultInstanceForType()com.google.protobuf.TimestampgetDeleteTime()Output only.com.google.protobuf.TimestampOrBuildergetDeleteTimeOrBuilder()Output only.StringgetDescription()Output only.com.google.protobuf.ByteStringgetDescriptionBytes()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()MembershipEndpointgetEndpoint()Optional.MembershipEndpointOrBuildergetEndpointOrBuilder()Optional.StringgetExternalId()Optional.com.google.protobuf.ByteStringgetExternalIdBytes()Optional.Membership.InfrastructureTypegetInfrastructureType()Optional.intgetInfrastructureTypeValue()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.com.google.protobuf.TimestampgetLastConnectionTime()Output only.com.google.protobuf.TimestampOrBuildergetLastConnectionTimeOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<Membership>getParserForType()intgetSerializedSize()MembershipStategetState()Output only.MembershipStateOrBuildergetStateOrBuilder()Output only.Membership.TypeCasegetTypeCase()StringgetUniqueId()Output only.com.google.protobuf.ByteStringgetUniqueIdBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAuthority()Optional.booleanhasCreateTime()Output only.booleanhasDeleteTime()Output only.booleanhasEndpoint()Optional.inthashCode()booleanhasLastConnectionTime()Output only.booleanhasState()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Membership.BuildernewBuilder()static Membership.BuildernewBuilder(Membership prototype)Membership.BuildernewBuilderForType()protected Membership.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MembershipparseDelimitedFrom(InputStream input)static MembershipparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MembershipparseFrom(byte[] data)static MembershipparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MembershipparseFrom(com.google.protobuf.ByteString data)static MembershipparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MembershipparseFrom(com.google.protobuf.CodedInputStream input)static MembershipparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MembershipparseFrom(InputStream input)static MembershipparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MembershipparseFrom(ByteBuffer data)static MembershipparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Membership>parser()Membership.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNAL_ID_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_CONNECTION_TIME_FIELD_NUMBER
public static final int LAST_CONNECTION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNIQUE_ID_FIELD_NUMBER
public static final int UNIQUE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INFRASTRUCTURE_TYPE_FIELD_NUMBER
public static final int INFRASTRUCTURE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTypeCase
public Membership.TypeCase getTypeCase()
- Specified by:
getTypeCasein interfaceMembershipOrBuilder
-
getName
public String getName()
Output only. The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceMembershipOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceMembershipOrBuilder- Returns:
- The bytes for name.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MembershipOrBuilderOptional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceMembershipOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceMembershipOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceMembershipOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceMembershipOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceMembershipOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceMembershipOrBuilder
-
getDescription
public String getDescription()
Output only. Description of this membership, limited to 63 characters. Must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*` This field is present for legacy purposes.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionin interfaceMembershipOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Output only. Description of this membership, limited to 63 characters. Must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*` This field is present for legacy purposes.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionBytesin interfaceMembershipOrBuilder- Returns:
- The bytes for description.
-
hasEndpoint
public boolean hasEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEndpointin interfaceMembershipOrBuilder- Returns:
- Whether the endpoint field is set.
-
getEndpoint
public MembershipEndpoint getEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointin interfaceMembershipOrBuilder- Returns:
- The endpoint.
-
getEndpointOrBuilder
public MembershipEndpointOrBuilder getEndpointOrBuilder()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointOrBuilderin interfaceMembershipOrBuilder
-
hasState
public boolean hasState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatein interfaceMembershipOrBuilder- Returns:
- Whether the state field is set.
-
getState
public MembershipState getState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceMembershipOrBuilder- Returns:
- The state.
-
getStateOrBuilder
public MembershipStateOrBuilder getStateOrBuilder()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateOrBuilderin interfaceMembershipOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceMembershipOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceMembershipOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceMembershipOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceMembershipOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceMembershipOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceMembershipOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceMembershipOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceMembershipOrBuilder- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceMembershipOrBuilder
-
getExternalId
public String getExternalId()
Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. For GKE clusters, external_id is managed by the Hub API and updates will be ignored. The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.
string external_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExternalIdin interfaceMembershipOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()
Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. For GKE clusters, external_id is managed by the Hub API and updates will be ignored. The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.
string external_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExternalIdBytesin interfaceMembershipOrBuilder- Returns:
- The bytes for externalId.
-
hasAuthority
public boolean hasAuthority()
Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
.google.cloud.gkehub.v1alpha2.Authority authority = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAuthorityin interfaceMembershipOrBuilder- Returns:
- Whether the authority field is set.
-
getAuthority
public Authority getAuthority()
Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
.google.cloud.gkehub.v1alpha2.Authority authority = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuthorityin interfaceMembershipOrBuilder- Returns:
- The authority.
-
getAuthorityOrBuilder
public AuthorityOrBuilder getAuthorityOrBuilder()
Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
.google.cloud.gkehub.v1alpha2.Authority authority = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuthorityOrBuilderin interfaceMembershipOrBuilder
-
hasLastConnectionTime
public boolean hasLastConnectionTime()
Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.
.google.protobuf.Timestamp last_connection_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLastConnectionTimein interfaceMembershipOrBuilder- Returns:
- Whether the lastConnectionTime field is set.
-
getLastConnectionTime
public com.google.protobuf.Timestamp getLastConnectionTime()
Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.
.google.protobuf.Timestamp last_connection_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastConnectionTimein interfaceMembershipOrBuilder- Returns:
- The lastConnectionTime.
-
getLastConnectionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastConnectionTimeOrBuilder()
Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.
.google.protobuf.Timestamp last_connection_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastConnectionTimeOrBuilderin interfaceMembershipOrBuilder
-
getUniqueId
public String getUniqueId()
Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.
string unique_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUniqueIdin interfaceMembershipOrBuilder- Returns:
- The uniqueId.
-
getUniqueIdBytes
public com.google.protobuf.ByteString getUniqueIdBytes()
Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.
string unique_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUniqueIdBytesin interfaceMembershipOrBuilder- Returns:
- The bytes for uniqueId.
-
getInfrastructureTypeValue
public int getInfrastructureTypeValue()
Optional. The infrastructure type this Membership is running on.
.google.cloud.gkehub.v1alpha2.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInfrastructureTypeValuein interfaceMembershipOrBuilder- Returns:
- The enum numeric value on the wire for infrastructureType.
-
getInfrastructureType
public Membership.InfrastructureType getInfrastructureType()
Optional. The infrastructure type this Membership is running on.
.google.cloud.gkehub.v1alpha2.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInfrastructureTypein interfaceMembershipOrBuilder- Returns:
- The infrastructureType.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Membership parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Membership parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Membership parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Membership parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Membership parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Membership parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Membership parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Membership parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Membership parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Membership parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Membership parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Membership parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Membership.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Membership.Builder newBuilder()
-
newBuilder
public static Membership.Builder newBuilder(Membership prototype)
-
toBuilder
public Membership.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Membership.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Membership getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Membership> parser()
-
getParserForType
public com.google.protobuf.Parser<Membership> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Membership getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-