- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class Membership.Builder extends GeneratedMessageV3.Builder<Membership.Builder> implements MembershipOrBuilder
Membership contains information about a member cluster.
Protobuf type google.cloud.gkehub.v1alpha2.Membership
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Membership.BuilderImplements
MembershipOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Membership.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Membership.Builder |
build()
public Membership build()
Type | Description |
Membership |
buildPartial()
public Membership buildPartial()
Type | Description |
Membership |
clear()
public Membership.Builder clear()
Type | Description |
Membership.Builder |
clearAuthority()
public Membership.Builder clearAuthority()
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];
Type | Description |
Membership.Builder |
clearCreateTime()
public Membership.Builder clearCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Membership.Builder |
clearDeleteTime()
public Membership.Builder clearDeleteTime()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Membership.Builder |
clearDescription()
public Membership.Builder clearDescription()
Output only. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
This field is present for legacy purposes.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Membership.Builder | This builder for chaining. |
clearEndpoint()
public Membership.Builder clearEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Membership.Builder |
clearExternalId()
public Membership.Builder clearExternalId()
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*
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];
Type | Description |
Membership.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Membership.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Membership.Builder |
clearInfrastructureType()
public Membership.Builder clearInfrastructureType()
Optional. The infrastructure type this Membership is running on.
.google.cloud.gkehub.v1alpha2.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Membership.Builder | This builder for chaining. |
clearLabels()
public Membership.Builder clearLabels()
Type | Description |
Membership.Builder |
clearLastConnectionTime()
public Membership.Builder clearLastConnectionTime()
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];
Type | Description |
Membership.Builder |
clearName()
public Membership.Builder clearName()
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:
- At most 63 characters in length
- It must consist of lower case alphanumeric characters or
-
- It must start and end with an alphanumeric character
Which can be expressed as the regex:
a-z0-9?
, with a maximum length of 63 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Membership.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Membership.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Membership.Builder |
clearState()
public Membership.Builder clearState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Membership.Builder |
clearType()
public Membership.Builder clearType()
Type | Description |
Membership.Builder |
clearUniqueId()
public Membership.Builder clearUniqueId()
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];
Type | Description |
Membership.Builder | This builder for chaining. |
clearUpdateTime()
public Membership.Builder clearUpdateTime()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Membership.Builder |
clone()
public Membership.Builder clone()
Type | Description |
Membership.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
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];
Type | Description |
Authority | The authority. |
getAuthorityBuilder()
public Authority.Builder getAuthorityBuilder()
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];
Type | Description |
Authority.Builder |
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];
Type | Description |
AuthorityOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Membership getDefaultInstanceForType()
Type | Description |
Membership |
getDeleteTime()
public Timestamp getDeleteTime()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDescription()
public String getDescription()
Output only. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
This field is present for legacy purposes.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Output only. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
This field is present for legacy purposes.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndpoint()
public MembershipEndpoint getEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
MembershipEndpoint | The endpoint. |
getEndpointBuilder()
public MembershipEndpoint.Builder getEndpointBuilder()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
MembershipEndpoint.Builder |
getEndpointOrBuilder()
public MembershipEndpointOrBuilder getEndpointOrBuilder()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
MembershipEndpointOrBuilder |
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*
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];
Type | Description |
String | The externalId. |
getExternalIdBytes()
public 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*
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];
Type | Description |
ByteString | The bytes for externalId. |
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];
Type | Description |
Membership.InfrastructureType | The infrastructureType. |
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];
Type | Description |
int | The enum numeric value on the wire for infrastructureType. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getLastConnectionTime()
public 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];
Type | Description |
Timestamp | The lastConnectionTime. |
getLastConnectionTimeBuilder()
public Timestamp.Builder getLastConnectionTimeBuilder()
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];
Type | Description |
Builder |
getLastConnectionTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
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:
- At most 63 characters in length
- It must consist of lower case alphanumeric characters or
-
- It must start and end with an alphanumeric character
Which can be expressed as the regex:
a-z0-9?
, with a maximum length of 63 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public 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:
- At most 63 characters in length
- It must consist of lower case alphanumeric characters or
-
- It must start and end with an alphanumeric character
Which can be expressed as the regex:
a-z0-9?
, with a maximum length of 63 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getState()
public MembershipState getState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MembershipState | The state. |
getStateBuilder()
public MembershipState.Builder getStateBuilder()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MembershipState.Builder |
getStateOrBuilder()
public MembershipStateOrBuilder getStateOrBuilder()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MembershipStateOrBuilder |
getTypeCase()
public Membership.TypeCase getTypeCase()
Type | Description |
Membership.TypeCase |
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];
Type | Description |
String | The uniqueId. |
getUniqueIdBytes()
public 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];
Type | Description |
ByteString | The bytes for uniqueId. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
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];
Type | Description |
boolean | Whether the authority field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasDeleteTime()
public boolean hasDeleteTime()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the deleteTime field is set. |
hasEndpoint()
public boolean hasEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the endpoint field is set. |
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];
Type | Description |
boolean | Whether the lastConnectionTime field is set. |
hasState()
public boolean hasState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the state field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAuthority(Authority value)
public Membership.Builder mergeAuthority(Authority value)
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];
Name | Description |
value | Authority |
Type | Description |
Membership.Builder |
mergeCreateTime(Timestamp value)
public Membership.Builder mergeCreateTime(Timestamp value)
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Membership.Builder |
mergeDeleteTime(Timestamp value)
public Membership.Builder mergeDeleteTime(Timestamp value)
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Membership.Builder |
mergeEndpoint(MembershipEndpoint value)
public Membership.Builder mergeEndpoint(MembershipEndpoint value)
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | MembershipEndpoint |
Type | Description |
Membership.Builder |
mergeFrom(Membership other)
public Membership.Builder mergeFrom(Membership other)
Name | Description |
other | Membership |
Type | Description |
Membership.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Membership.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Membership.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Membership.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Membership.Builder |
mergeLastConnectionTime(Timestamp value)
public Membership.Builder mergeLastConnectionTime(Timestamp value)
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];
Name | Description |
value | Timestamp |
Type | Description |
Membership.Builder |
mergeState(MembershipState value)
public Membership.Builder mergeState(MembershipState value)
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | MembershipState |
Type | Description |
Membership.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Membership.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Membership.Builder |
mergeUpdateTime(Timestamp value)
public Membership.Builder mergeUpdateTime(Timestamp value)
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Membership.Builder |
putAllLabels(Map<String,String> values)
public Membership.Builder putAllLabels(Map<String,String> values)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Map<String,String> |
Type | Description |
Membership.Builder |
putLabels(String key, String value)
public Membership.Builder putLabels(String key, String value)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
value | String |
Type | Description |
Membership.Builder |
removeLabels(String key)
public Membership.Builder removeLabels(String key)
Optional. GCP labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
Membership.Builder |
setAuthority(Authority value)
public Membership.Builder setAuthority(Authority value)
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];
Name | Description |
value | Authority |
Type | Description |
Membership.Builder |
setAuthority(Authority.Builder builderForValue)
public Membership.Builder setAuthority(Authority.Builder builderForValue)
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];
Name | Description |
builderForValue | Authority.Builder |
Type | Description |
Membership.Builder |
setCreateTime(Timestamp value)
public Membership.Builder setCreateTime(Timestamp value)
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Membership.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Membership.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Membership.Builder |
setDeleteTime(Timestamp value)
public Membership.Builder setDeleteTime(Timestamp value)
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Membership.Builder |
setDeleteTime(Timestamp.Builder builderForValue)
public Membership.Builder setDeleteTime(Timestamp.Builder builderForValue)
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Membership.Builder |
setDescription(String value)
public Membership.Builder setDescription(String value)
Output only. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
This field is present for legacy purposes.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The description to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Membership.Builder setDescriptionBytes(ByteString value)
Output only. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
This field is present for legacy purposes.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setEndpoint(MembershipEndpoint value)
public Membership.Builder setEndpoint(MembershipEndpoint value)
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | MembershipEndpoint |
Type | Description |
Membership.Builder |
setEndpoint(MembershipEndpoint.Builder builderForValue)
public Membership.Builder setEndpoint(MembershipEndpoint.Builder builderForValue)
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1alpha2.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | MembershipEndpoint.Builder |
Type | Description |
Membership.Builder |
setExternalId(String value)
public Membership.Builder setExternalId(String value)
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*
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];
Name | Description |
value | String The externalId to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setExternalIdBytes(ByteString value)
public Membership.Builder setExternalIdBytes(ByteString value)
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*
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];
Name | Description |
value | ByteString The bytes for externalId to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Membership.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Membership.Builder |
setInfrastructureType(Membership.InfrastructureType value)
public Membership.Builder setInfrastructureType(Membership.InfrastructureType value)
Optional. The infrastructure type this Membership is running on.
.google.cloud.gkehub.v1alpha2.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Membership.InfrastructureType The infrastructureType to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setInfrastructureTypeValue(int value)
public Membership.Builder setInfrastructureTypeValue(int value)
Optional. The infrastructure type this Membership is running on.
.google.cloud.gkehub.v1alpha2.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | int The enum numeric value on the wire for infrastructureType to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setLastConnectionTime(Timestamp value)
public Membership.Builder setLastConnectionTime(Timestamp value)
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];
Name | Description |
value | Timestamp |
Type | Description |
Membership.Builder |
setLastConnectionTime(Timestamp.Builder builderForValue)
public Membership.Builder setLastConnectionTime(Timestamp.Builder builderForValue)
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];
Name | Description |
builderForValue | Builder |
Type | Description |
Membership.Builder |
setName(String value)
public Membership.Builder setName(String value)
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:
- At most 63 characters in length
- It must consist of lower case alphanumeric characters or
-
- It must start and end with an alphanumeric character
Which can be expressed as the regex:
a-z0-9?
, with a maximum length of 63 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Membership.Builder setNameBytes(ByteString value)
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:
- At most 63 characters in length
- It must consist of lower case alphanumeric characters or
-
- It must start and end with an alphanumeric character
Which can be expressed as the regex:
a-z0-9?
, with a maximum length of 63 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Membership.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Membership.Builder |
setState(MembershipState value)
public Membership.Builder setState(MembershipState value)
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | MembershipState |
Type | Description |
Membership.Builder |
setState(MembershipState.Builder builderForValue)
public Membership.Builder setState(MembershipState.Builder builderForValue)
Output only. State of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | MembershipState.Builder |
Type | Description |
Membership.Builder |
setUniqueId(String value)
public Membership.Builder setUniqueId(String value)
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];
Name | Description |
value | String The uniqueId to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setUniqueIdBytes(ByteString value)
public Membership.Builder setUniqueIdBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for uniqueId to set. |
Type | Description |
Membership.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Membership.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Membership.Builder |
setUpdateTime(Timestamp value)
public Membership.Builder setUpdateTime(Timestamp value)
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Membership.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Membership.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Membership.Builder |