public static final class Membership.Builder extends GeneratedMessageV3.Builder<Membership.Builder> implements MembershipOrBuilder
Membership contains information about a member cluster.
Protobuf type google.events.cloud.gkehub.v1.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.events.cloud.gkehub.v1.Authority authority = 12;
Returns | |
---|---|
Type | Description |
Membership.Builder |
clearCreateTime()
public Membership.Builder clearCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Membership.Builder |
clearDeleteTime()
public Membership.Builder clearDeleteTime()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Membership.Builder |
This builder for chaining. |
clearEndpoint()
public Membership.Builder clearEndpoint()
Optional. Endpoint information to reach this member.
.google.events.cloud.gkehub.v1.MembershipEndpoint endpoint = 4;
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.
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;
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 |
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 = 10;
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;
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.events.cloud.gkehub.v1.MembershipState state = 5;
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 = 11;
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;
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;
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.events.cloud.gkehub.v1.Authority authority = 12;
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.events.cloud.gkehub.v1.Authority authority = 12;
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.events.cloud.gkehub.v1.Authority authority = 12;
Returns | |
---|---|
Type | Description |
AuthorityOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. When the Membership was created.
.google.protobuf.Timestamp create_time = 6;
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;
Returns | |
---|---|
Type | Description |
Timestamp |
The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8;
Returns | |
---|---|
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. When the Membership was deleted.
.google.protobuf.Timestamp delete_time = 8;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
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.events.cloud.gkehub.v1.MembershipEndpoint endpoint = 4;
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
The endpoint. |
getEndpointBuilder()
public MembershipEndpoint.Builder getEndpointBuilder()
Optional. Endpoint information to reach this member.
.google.events.cloud.gkehub.v1.MembershipEndpoint endpoint = 4;
Returns | |
---|---|
Type | Description |
MembershipEndpoint.Builder |
getEndpointOrBuilder()
public MembershipEndpointOrBuilder getEndpointOrBuilder()
Optional. Endpoint information to reach this member.
.google.events.cloud.gkehub.v1.MembershipEndpoint endpoint = 4;
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.
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;
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.
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for externalId. |
getLabels()
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;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. GCP labels for this membership.
map<string, string> labels = 2;
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;
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;
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 = 10;
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 = 10;
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 = 10;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMutableLabels()
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;
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getState()
public MembershipState getState()
Output only. State of the Membership resource.
.google.events.cloud.gkehub.v1.MembershipState state = 5;
Returns | |
---|---|
Type | Description |
MembershipState |
The state. |
getStateBuilder()
public MembershipState.Builder getStateBuilder()
Output only. State of the Membership resource.
.google.events.cloud.gkehub.v1.MembershipState state = 5;
Returns | |
---|---|
Type | Description |
MembershipState.Builder |
getStateOrBuilder()
public MembershipStateOrBuilder getStateOrBuilder()
Output only. State of the Membership resource.
.google.events.cloud.gkehub.v1.MembershipState state = 5;
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 = 11;
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 = 11;
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;
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;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. When the Membership was last updated.
.google.protobuf.Timestamp update_time = 7;
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.events.cloud.gkehub.v1.Authority authority = 12;
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;
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the deleteTime field is set. |
hasEndpoint()
public boolean hasEndpoint()
Optional. Endpoint information to reach this member.
.google.events.cloud.gkehub.v1.MembershipEndpoint endpoint = 4;
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 = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the lastConnectionTime field is set. |
hasState()
public boolean hasState()
Output only. State of the Membership resource.
.google.events.cloud.gkehub.v1.MembershipState state = 5;
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
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.events.cloud.gkehub.v1.Authority authority = 12;
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;
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;
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.events.cloud.gkehub.v1.MembershipEndpoint endpoint = 4;
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 = 10;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Membership.Builder |
mergeState(MembershipState value)
public Membership.Builder mergeState(MembershipState value)
Output only. State of the Membership resource.
.google.events.cloud.gkehub.v1.MembershipState state = 5;
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;
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;
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;
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;
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.events.cloud.gkehub.v1.Authority authority = 12;
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.events.cloud.gkehub.v1.Authority authority = 12;
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;
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;
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;
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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;
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)
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;
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.events.cloud.gkehub.v1.MembershipEndpoint endpoint = 4;
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.events.cloud.gkehub.v1.MembershipEndpoint endpoint = 4;
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.
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;
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.
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;
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 |
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 = 10;
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 = 10;
Parameter | |
---|---|
Name | Description |
builderForValue |
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;
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;
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.events.cloud.gkehub.v1.MembershipState state = 5;
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.events.cloud.gkehub.v1.MembershipState state = 5;
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 = 11;
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 = 11;
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;
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Membership.Builder |