Class ListFeaturesRequest.Builder (1.52.0)

public static final class ListFeaturesRequest.Builder extends GeneratedMessageV3.Builder<ListFeaturesRequest.Builder> implements ListFeaturesRequestOrBuilder

Request message for GkeHub.ListFeatures method.

Protobuf type google.cloud.gkehub.v1beta.ListFeaturesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFeaturesRequest build()
Returns
Type Description
ListFeaturesRequest

buildPartial()

public ListFeaturesRequest buildPartial()
Returns
Type Description
ListFeaturesRequest

clear()

public ListFeaturesRequest.Builder clear()
Returns
Type Description
ListFeaturesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListFeaturesRequest.Builder clearFilter()

Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

Examples:

  • Feature with the name "servicemesh" in project "foo-proj":

    name = "projects/foo-proj/locations/global/features/servicemesh"

  • Features that have a label called foo:

    labels.foo:*

  • Features that have a label called foo whose value is bar:

    labels.foo = bar

string filter = 4;

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderBy()

public ListFeaturesRequest.Builder clearOrderBy()

One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

string order_by = 5;

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

clearPageSize()

public ListFeaturesRequest.Builder clearPageSize()

When requesting a 'page' of resources, page_size specifies number of resources to return. If unspecified or set to 0, all resources will be returned.

int32 page_size = 2;

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

clearPageToken()

public ListFeaturesRequest.Builder clearPageToken()

Token returned by previous call to ListFeatures which specifies the position in the list from where to continue listing the resources.

string page_token = 3;

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

clearParent()

public ListFeaturesRequest.Builder clearParent()

The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*.

string parent = 1;

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFeaturesRequest getDefaultInstanceForType()
Returns
Type Description
ListFeaturesRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

Examples:

  • Feature with the name "servicemesh" in project "foo-proj":

    name = "projects/foo-proj/locations/global/features/servicemesh"

  • Features that have a label called foo:

    labels.foo:*

  • Features that have a label called foo whose value is bar:

    labels.foo = bar

string filter = 4;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

Examples:

  • Feature with the name "servicemesh" in project "foo-proj":

    name = "projects/foo-proj/locations/global/features/servicemesh"

  • Features that have a label called foo:

    labels.foo:*

  • Features that have a label called foo whose value is bar:

    labels.foo = bar

string filter = 4;

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

string order_by = 5;

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

string order_by = 5;

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

When requesting a 'page' of resources, page_size specifies number of resources to return. If unspecified or set to 0, all resources will be returned.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Token returned by previous call to ListFeatures which specifies the position in the list from where to continue listing the resources.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Token returned by previous call to ListFeatures which specifies the position in the list from where to continue listing the resources.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*.

string parent = 1;

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(ListFeaturesRequest other)

public ListFeaturesRequest.Builder mergeFrom(ListFeaturesRequest other)
Parameter
Name Description
other ListFeaturesRequest
Returns
Type Description
ListFeaturesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFeaturesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeaturesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListFeaturesRequest.Builder setFilter(String value)

Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

Examples:

  • Feature with the name "servicemesh" in project "foo-proj":

    name = "projects/foo-proj/locations/global/features/servicemesh"

  • Features that have a label called foo:

    labels.foo:*

  • Features that have a label called foo whose value is bar:

    labels.foo = bar

string filter = 4;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListFeaturesRequest.Builder setFilterBytes(ByteString value)

Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

Examples:

  • Feature with the name "servicemesh" in project "foo-proj":

    name = "projects/foo-proj/locations/global/features/servicemesh"

  • Features that have a label called foo:

    labels.foo:*

  • Features that have a label called foo whose value is bar:

    labels.foo = bar

string filter = 4;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListFeaturesRequest.Builder setOrderBy(String value)

One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

string order_by = 5;

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListFeaturesRequest.Builder setOrderByBytes(ByteString value)

One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

string order_by = 5;

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListFeaturesRequest.Builder setPageSize(int value)

When requesting a 'page' of resources, page_size specifies number of resources to return. If unspecified or set to 0, all resources will be returned.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListFeaturesRequest.Builder setPageToken(String value)

Token returned by previous call to ListFeatures which specifies the position in the list from where to continue listing the resources.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListFeaturesRequest.Builder setPageTokenBytes(ByteString value)

Token returned by previous call to ListFeatures which specifies the position in the list from where to continue listing the resources.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

setParent(String value)

public ListFeaturesRequest.Builder setParent(String value)

The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*.

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListFeaturesRequest.Builder setParentBytes(ByteString value)

The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*.

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListFeaturesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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