public static final class GetClusterRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetClusterRequest.Builder> implements GetClusterRequestOrBuilder
Message for getting a ClusterProtobuf type
google.cloud.alloydb.v1beta.GetClusterRequestaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetClusterRequest.Builder>public GetClusterRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<GetClusterRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GetClusterRequest.Builder>public GetClusterRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GetClusterRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GetClusterRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GetClusterRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetClusterRequest.Builder>public GetClusterRequest.Builder mergeFrom(GetClusterRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GetClusterRequest.Builder>public GetClusterRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetClusterRequest.Builder>IOExceptionpublic String getName()
Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface GetClusterRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface GetClusterRequestOrBuilderpublic GetClusterRequest.Builder setName(String value)
Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public GetClusterRequest.Builder clearName()
Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public GetClusterRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of the resource. For the required format, see the comment on the Cluster.name field.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public int getViewValue()
Optional. The view of the cluster to return. Returns all default fields if not set.
.google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL];
getViewValue in interface GetClusterRequestOrBuilderpublic GetClusterRequest.Builder setViewValue(int value)
Optional. The view of the cluster to return. Returns all default fields if not set.
.google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for view to set.public ClusterView getView()
Optional. The view of the cluster to return. Returns all default fields if not set.
.google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL];
getView in interface GetClusterRequestOrBuilderpublic GetClusterRequest.Builder setView(ClusterView value)
Optional. The view of the cluster to return. Returns all default fields if not set.
.google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL];
value - The view to set.public GetClusterRequest.Builder clearView()
Optional. The view of the cluster to return. Returns all default fields if not set.
.google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2026 Google LLC. All rights reserved.