Class ListSupportedDatabaseFlagsRequest.Builder (0.4.0)

public static final class ListSupportedDatabaseFlagsRequest.Builder extends GeneratedMessageV3.Builder<ListSupportedDatabaseFlagsRequest.Builder> implements ListSupportedDatabaseFlagsRequestOrBuilder

Message for listing the information about the supported Database flags.

Protobuf type google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSupportedDatabaseFlagsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSupportedDatabaseFlagsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSupportedDatabaseFlagsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides

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.

clone()

public ListSupportedDatabaseFlagsRequest.Builder clone()
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListSupportedDatabaseFlagsRequest getDefaultInstanceForType()
Returns
Type Description
ListSupportedDatabaseFlagsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListSupportedDatabaseFlagsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSupportedDatabaseFlagsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListSupportedDatabaseFlagsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides

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 int

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for parent to set.

Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListSupportedDatabaseFlagsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSupportedDatabaseFlagsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSupportedDatabaseFlagsRequest.Builder
Overrides