- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 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 interface MembershipOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Optional. Labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAuthority()
public abstract 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.v1.Authority authority = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Authority | The authority. |
getAuthorityOrBuilder()
public abstract 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.v1.Authority authority = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AuthorityOrBuilder |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDeleteTime()
public abstract Timestamp getDeleteTime()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The deleteTime. |
getDeleteTimeOrBuilder()
public abstract TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract 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];
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getEndpoint()
public abstract MembershipEndpoint getEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MembershipEndpoint | The endpoint. |
getEndpointOrBuilder()
public abstract MembershipEndpointOrBuilder getEndpointOrBuilder()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MembershipEndpointOrBuilder |
getExternalId()
public abstract String getExternalId()
Optional. An externally-generated and managed ID for this Membership. This
ID may be modified after creation, but this is not recommended.
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];
Returns | |
---|---|
Type | Description |
String | The externalId. |
getExternalIdBytes()
public abstract ByteString getExternalIdBytes()
Optional. An externally-generated and managed ID for this Membership. This
ID may be modified after creation, but this is not recommended.
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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for externalId. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Optional. Labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Optional. Labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Optional. Labels for this membership.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getLastConnectionTime()
public abstract 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The lastConnectionTime. |
getLastConnectionTimeOrBuilder()
public abstract 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMonitoringConfig()
public abstract MonitoringConfig getMonitoringConfig()
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MonitoringConfig | The monitoringConfig. |
getMonitoringConfigOrBuilder()
public abstract MonitoringConfigOrBuilder getMonitoringConfigOrBuilder()
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MonitoringConfigOrBuilder |
getName()
public abstract 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];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getState()
public abstract MembershipState getState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MembershipState | The state. |
getStateOrBuilder()
public abstract MembershipStateOrBuilder getStateOrBuilder()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MembershipStateOrBuilder |
getTypeCase()
public abstract Membership.TypeCase getTypeCase()
Returns | |
---|---|
Type | Description |
Membership.TypeCase |
getUniqueId()
public abstract 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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The uniqueId. |
getUniqueIdBytes()
public abstract 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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for uniqueId. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasAuthority()
public abstract 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.v1.Authority authority = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the authority field is set. |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasDeleteTime()
public abstract boolean hasDeleteTime()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the deleteTime field is set. |
hasEndpoint()
public abstract boolean hasEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the endpoint field is set. |
hasLastConnectionTime()
public abstract 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the lastConnectionTime field is set. |
hasMonitoringConfig()
public abstract boolean hasMonitoringConfig()
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the monitoringConfig field is set. |
hasState()
public abstract boolean hasState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the state field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |