Class ListSupportedDatabaseFlagsRequest.Builder (0.30.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.v1.ListSupportedDatabaseFlagsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSupportedDatabaseFlagsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides

build()

public ListSupportedDatabaseFlagsRequest build()
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest

buildPartial()

public ListSupportedDatabaseFlagsRequest buildPartial()
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest

clear()

public ListSupportedDatabaseFlagsRequest.Builder clear()
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSupportedDatabaseFlagsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSupportedDatabaseFlagsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder

This builder for chaining.

clone()

public ListSupportedDatabaseFlagsRequest.Builder clone()
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListSupportedDatabaseFlagsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A token identifying a page of results the server should return.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A token identifying a page of results the server should return.

string page_token = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSupportedDatabaseFlagsRequest other)

public ListSupportedDatabaseFlagsRequest.Builder mergeFrom(ListSupportedDatabaseFlagsRequest other)
Parameter
NameDescription
otherListSupportedDatabaseFlagsRequest
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSupportedDatabaseFlagsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSupportedDatabaseFlagsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSupportedDatabaseFlagsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListSupportedDatabaseFlagsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSupportedDatabaseFlagsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSupportedDatabaseFlagsRequest.Builder
Overrides