public static final class ListSupportedDatabaseFlagsRequest.Builder extends GeneratedMessage.Builder<ListSupportedDatabaseFlagsRequest.Builder> implements ListSupportedDatabaseFlagsRequestOrBuilderMessage for listing the information about the supported Database flags.
Protobuf type google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSupportedDatabaseFlagsRequest.BuilderImplements
ListSupportedDatabaseFlagsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListSupportedDatabaseFlagsRequest build()| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest |
|
buildPartial()
public ListSupportedDatabaseFlagsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest |
|
clear()
public ListSupportedDatabaseFlagsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
|
clearPageSize()
public ListSupportedDatabaseFlagsRequest.Builder clearPageSize()Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListSupportedDatabaseFlagsRequest.Builder clearPageToken()A token identifying a page of results the server should return.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
clearParent()
public ListSupportedDatabaseFlagsRequest.Builder clearParent()Required. The name of the parent resource. The required format is:
projects/{project}/locations/{location}
Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
clearScope()
public ListSupportedDatabaseFlagsRequest.Builder clearScope()Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope scope = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListSupportedDatabaseFlagsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()A token identifying a page of results the server should return.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()A token identifying a page of results the server should return.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The name of the parent resource. The required format is:
projects/{project}/locations/{location}
Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The name of the parent resource. The required format is:
projects/{project}/locations/{location}
Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getScope()
public SupportedDatabaseFlag.Scope getScope()Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope scope = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SupportedDatabaseFlag.Scope |
The scope. |
getScopeValue()
public int getScopeValue()Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope scope = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for scope. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListSupportedDatabaseFlagsRequest other)
public ListSupportedDatabaseFlagsRequest.Builder mergeFrom(ListSupportedDatabaseFlagsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSupportedDatabaseFlagsRequest |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSupportedDatabaseFlagsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSupportedDatabaseFlagsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
|
setPageSize(int value)
public ListSupportedDatabaseFlagsRequest.Builder setPageSize(int value)Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListSupportedDatabaseFlagsRequest.Builder setPageToken(String value)A token identifying a page of results the server should return.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListSupportedDatabaseFlagsRequest.Builder setPageTokenBytes(ByteString value)A token identifying a page of results the server should return.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListSupportedDatabaseFlagsRequest.Builder setParent(String value)Required. The name of the parent resource. The required format is:
projects/{project}/locations/{location}
Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListSupportedDatabaseFlagsRequest.Builder setParentBytes(ByteString value)Required. The name of the parent resource. The required format is:
projects/{project}/locations/{location}
Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
setScope(SupportedDatabaseFlag.Scope value)
public ListSupportedDatabaseFlagsRequest.Builder setScope(SupportedDatabaseFlag.Scope value)Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope scope = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SupportedDatabaseFlag.ScopeThe scope to set. |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |
setScopeValue(int value)
public ListSupportedDatabaseFlagsRequest.Builder setScopeValue(int value)Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope scope = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for scope to set. |
| Returns | |
|---|---|
| Type | Description |
ListSupportedDatabaseFlagsRequest.Builder |
This builder for chaining. |