- 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.v1beta1.Membership
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Membership.BuilderImplements
MembershipOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Membership.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Membership.Builder |
build()
public Membership build()
Returns | |
---|---|
Type | Description |
Membership |
buildPartial()
public Membership buildPartial()
Returns | |
---|---|
Type | Description |
Membership |
clear()
public Membership.Builder clear()
Returns | |
---|---|
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.v1beta1.Authority authority = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Membership.Builder |
clearDescription()
public Membership.Builder clearDescription()
Optional. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Membership.Builder |
This builder for chaining. |
clearEndpoint()
public Membership.Builder clearEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1beta1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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 = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Membership.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Membership.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Membership.Builder |
clearInfrastructureType()
public Membership.Builder clearInfrastructureType()
Optional. The infrastructure type this Membership is running on.
.google.cloud.gkehub.v1beta1.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Membership.Builder |
This builder for chaining. |
clearLabels()
public Membership.Builder clearLabels()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Membership.Builder |
clearMonitoringConfig()
public Membership.Builder clearMonitoringConfig()
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1beta1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Membership.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Membership.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Membership.Builder |
clearState()
public Membership.Builder clearState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1beta1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Membership.Builder |
clearType()
public Membership.Builder clearType()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Membership.Builder |
clone()
public Membership.Builder clone()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
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.v1beta1.Authority authority = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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.v1beta1.Authority authority = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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.v1beta1.Authority authority = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Membership getDefaultInstanceForType()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public String getDescription()
Optional. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndpoint()
public MembershipEndpoint getEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1beta1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
The endpoint. |
getEndpointBuilder()
public MembershipEndpoint.Builder getEndpointBuilder()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1beta1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MembershipEndpoint.Builder |
getEndpointOrBuilder()
public MembershipEndpointOrBuilder getEndpointOrBuilder()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1beta1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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 = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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 = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for externalId. |
getInfrastructureType()
public Membership.InfrastructureType getInfrastructureType()
Optional. The infrastructure type this Membership is running on.
.google.cloud.gkehub.v1beta1.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Membership.InfrastructureType |
The infrastructureType. |
getInfrastructureTypeValue()
public int getInfrastructureTypeValue()
Optional. The infrastructure type this Membership is running on.
.google.cloud.gkehub.v1beta1.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for infrastructureType. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMonitoringConfig()
public MonitoringConfig getMonitoringConfig()
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1beta1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MonitoringConfig |
The monitoringConfig. |
getMonitoringConfigBuilder()
public MonitoringConfig.Builder getMonitoringConfigBuilder()
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1beta1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MonitoringConfig.Builder |
getMonitoringConfigOrBuilder()
public MonitoringConfigOrBuilder getMonitoringConfigOrBuilder()
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1beta1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MonitoringConfigOrBuilder |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getState()
public MembershipState getState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1beta1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MembershipState |
The state. |
getStateBuilder()
public MembershipState.Builder getStateBuilder()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1beta1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MembershipState.Builder |
getStateOrBuilder()
public MembershipStateOrBuilder getStateOrBuilder()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1beta1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MembershipStateOrBuilder |
getTypeCase()
public Membership.TypeCase getTypeCase()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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.v1beta1.Authority authority = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the deleteTime field is set. |
hasEndpoint()
public boolean hasEndpoint()
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1beta1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the lastConnectionTime field is set. |
hasMonitoringConfig()
public boolean hasMonitoringConfig()
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1beta1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the monitoringConfig field is set. |
hasState()
public boolean hasState()
Output only. State of the Membership resource.
.google.cloud.gkehub.v1beta1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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.v1beta1.Authority authority = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Authority |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Membership.Builder |
mergeEndpoint(MembershipEndpoint value)
public Membership.Builder mergeEndpoint(MembershipEndpoint value)
Optional. Endpoint information to reach this member.
.google.cloud.gkehub.v1beta1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MembershipEndpoint |
Returns | |
---|---|
Type | Description |
Membership.Builder |
mergeFrom(Membership other)
public Membership.Builder mergeFrom(Membership other)
Parameter | |
---|---|
Name | Description |
other |
Membership |
Returns | |
---|---|
Type | Description |
Membership.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Membership.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Membership.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Membership.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Membership.Builder |
mergeMonitoringConfig(MonitoringConfig value)
public Membership.Builder mergeMonitoringConfig(MonitoringConfig value)
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1beta1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MonitoringConfig |
Returns | |
---|---|
Type | Description |
Membership.Builder |
mergeState(MembershipState value)
public Membership.Builder mergeState(MembershipState value)
Output only. State of the Membership resource.
.google.cloud.gkehub.v1beta1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
MembershipState |
Returns | |
---|---|
Type | Description |
Membership.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Membership.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
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.v1beta1.Authority authority = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Authority |
Returns | |
---|---|
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.v1beta1.Authority authority = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Authority.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Membership.Builder |
setDescription(String value)
public Membership.Builder setDescription(String value)
Optional. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Membership.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Membership.Builder setDescriptionBytes(ByteString value)
Optional. Description of this membership, limited to 63 characters.
Must match the regex: a-zA-Z0-9*
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
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.v1beta1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MembershipEndpoint |
Returns | |
---|---|
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.v1beta1.MembershipEndpoint endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
MembershipEndpoint.Builder |
Returns | |
---|---|
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 = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The externalId to set. |
Returns | |
---|---|
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 = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for externalId to set. |
Returns | |
---|---|
Type | Description |
Membership.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Membership.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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.v1beta1.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Membership.InfrastructureType The infrastructureType to set. |
Returns | |
---|---|
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.v1beta1.Membership.InfrastructureType infrastructure_type = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for infrastructureType to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Membership.Builder |
setMonitoringConfig(MonitoringConfig value)
public Membership.Builder setMonitoringConfig(MonitoringConfig value)
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1beta1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MonitoringConfig |
Returns | |
---|---|
Type | Description |
Membership.Builder |
setMonitoringConfig(MonitoringConfig.Builder builderForValue)
public Membership.Builder setMonitoringConfig(MonitoringConfig.Builder builderForValue)
Optional. The monitoring config information for this membership.
.google.cloud.gkehub.v1beta1.MonitoringConfig monitoring_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
MonitoringConfig.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Membership.Builder |
setState(MembershipState value)
public Membership.Builder setState(MembershipState value)
Output only. State of the Membership resource.
.google.cloud.gkehub.v1beta1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
MembershipState |
Returns | |
---|---|
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.v1beta1.MembershipState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
MembershipState.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The uniqueId to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uniqueId to set. |
Returns | |
---|---|
Type | Description |
Membership.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Membership.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Membership.Builder |