public static final class GkeHubClusterReference.Builder extends GeneratedMessageV3.Builder<GkeHubClusterReference.Builder> implements GkeHubClusterReferenceOrBuilder
GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub.Protobuf type
google.cloud.gaming.v1alpha.GkeHubClusterReference
Modifier and Type | Method and Description |
---|---|
GkeHubClusterReference.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
GkeHubClusterReference |
build() |
GkeHubClusterReference |
buildPartial() |
GkeHubClusterReference.Builder |
clear() |
GkeHubClusterReference.Builder |
clearField(Descriptors.FieldDescriptor field) |
GkeHubClusterReference.Builder |
clearMembership()
The full or partial name of a GKE Hub membership, using one of the
following forms:
*
`https:
//gkehub.googleapis.com/v1beta1/projects
// /{project_id}/locations/global/memberships/{membership_id}`
* `projects/{project_id}/locations/global/memberships/{membership_id}`
* `{membership_id}`
If project is not specified, the project of the GameServerCluster resource
is used to generate the full name of the GKE Hub membership.
|
GkeHubClusterReference.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
GkeHubClusterReference.Builder |
clone() |
GkeHubClusterReference |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getMembership()
The full or partial name of a GKE Hub membership, using one of the
following forms:
*
`https:
//gkehub.googleapis.com/v1beta1/projects
// /{project_id}/locations/global/memberships/{membership_id}`
* `projects/{project_id}/locations/global/memberships/{membership_id}`
* `{membership_id}`
If project is not specified, the project of the GameServerCluster resource
is used to generate the full name of the GKE Hub membership.
|
ByteString |
getMembershipBytes()
The full or partial name of a GKE Hub membership, using one of the
following forms:
*
`https:
//gkehub.googleapis.com/v1beta1/projects
// /{project_id}/locations/global/memberships/{membership_id}`
* `projects/{project_id}/locations/global/memberships/{membership_id}`
* `{membership_id}`
If project is not specified, the project of the GameServerCluster resource
is used to generate the full name of the GKE Hub membership.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GkeHubClusterReference.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
GkeHubClusterReference.Builder |
mergeFrom(GkeHubClusterReference other) |
GkeHubClusterReference.Builder |
mergeFrom(Message other) |
GkeHubClusterReference.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
GkeHubClusterReference.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
GkeHubClusterReference.Builder |
setMembership(String value)
The full or partial name of a GKE Hub membership, using one of the
following forms:
*
`https:
//gkehub.googleapis.com/v1beta1/projects
// /{project_id}/locations/global/memberships/{membership_id}`
* `projects/{project_id}/locations/global/memberships/{membership_id}`
* `{membership_id}`
If project is not specified, the project of the GameServerCluster resource
is used to generate the full name of the GKE Hub membership.
|
GkeHubClusterReference.Builder |
setMembershipBytes(ByteString value)
The full or partial name of a GKE Hub membership, using one of the
following forms:
*
`https:
//gkehub.googleapis.com/v1beta1/projects
// /{project_id}/locations/global/memberships/{membership_id}`
* `projects/{project_id}/locations/global/memberships/{membership_id}`
* `{membership_id}`
If project is not specified, the project of the GameServerCluster resource
is used to generate the full name of the GKE Hub membership.
|
GkeHubClusterReference.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
GkeHubClusterReference.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GkeHubClusterReference build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GkeHubClusterReference buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GkeHubClusterReference.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder mergeFrom(GkeHubClusterReference other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public GkeHubClusterReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GkeHubClusterReference.Builder>
IOException
public String getMembership()
The full or partial name of a GKE Hub membership, using one of the following forms: * `https: //gkehub.googleapis.com/v1beta1/projects // /{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
string membership = 1;
getMembership
in interface GkeHubClusterReferenceOrBuilder
public ByteString getMembershipBytes()
The full or partial name of a GKE Hub membership, using one of the following forms: * `https: //gkehub.googleapis.com/v1beta1/projects // /{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
string membership = 1;
getMembershipBytes
in interface GkeHubClusterReferenceOrBuilder
public GkeHubClusterReference.Builder setMembership(String value)
The full or partial name of a GKE Hub membership, using one of the following forms: * `https: //gkehub.googleapis.com/v1beta1/projects // /{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
string membership = 1;
value
- The membership to set.public GkeHubClusterReference.Builder clearMembership()
The full or partial name of a GKE Hub membership, using one of the following forms: * `https: //gkehub.googleapis.com/v1beta1/projects // /{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
string membership = 1;
public GkeHubClusterReference.Builder setMembershipBytes(ByteString value)
The full or partial name of a GKE Hub membership, using one of the following forms: * `https: //gkehub.googleapis.com/v1beta1/projects // /{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
string membership = 1;
value
- The bytes for membership to set.public final GkeHubClusterReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
public final GkeHubClusterReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GkeHubClusterReference.Builder>
Copyright © 2020 Google LLC. All rights reserved.