public static final class AnthosCluster.Builder extends GeneratedMessageV3.Builder<AnthosCluster.Builder> implements AnthosClusterOrBuilder
Information specifying an Anthos Cluster.
Protobuf type google.cloud.deploy.v1.AnthosCluster
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnthosCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AnthosCluster build()
buildPartial()
public AnthosCluster buildPartial()
clear()
public AnthosCluster.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AnthosCluster.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMembership()
public AnthosCluster.Builder clearMembership()
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format is
projects/{project}/locations/{location}/memberships/{membership_name}
.
string membership = 1 [(.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public AnthosCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AnthosCluster.Builder clone()
Overrides
getDefaultInstanceForType()
public AnthosCluster getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMembership()
public String getMembership()
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format is
projects/{project}/locations/{location}/memberships/{membership_name}
.
string membership = 1 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The membership.
|
getMembershipBytes()
public ByteString getMembershipBytes()
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format is
projects/{project}/locations/{location}/memberships/{membership_name}
.
string membership = 1 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for membership.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AnthosCluster other)
public AnthosCluster.Builder mergeFrom(AnthosCluster other)
public AnthosCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnthosCluster.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnthosCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AnthosCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMembership(String value)
public AnthosCluster.Builder setMembership(String value)
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format is
projects/{project}/locations/{location}/memberships/{membership_name}
.
string membership = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The membership to set.
|
setMembershipBytes(ByteString value)
public AnthosCluster.Builder setMembershipBytes(ByteString value)
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format is
projects/{project}/locations/{location}/memberships/{membership_name}
.
string membership = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for membership to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnthosCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnthosCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides