Class ListFeaturesRequest.Builder (1.2.1)

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

Request message for GkeHub.ListFeatures method.

Protobuf type google.cloud.gkehub.v1.ListFeaturesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFeaturesRequest build()
Returns
TypeDescription
ListFeaturesRequest

buildPartial()

public ListFeaturesRequest buildPartial()
Returns
TypeDescription
ListFeaturesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListFeaturesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListFeaturesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearParent()

public ListFeaturesRequest.Builder clearParent()

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

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListFeaturesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFeaturesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListFeaturesRequest

getDescriptorForType()

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

The bytes for pageToken.

getParent()

public String getParent()

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

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

string parent = 1 [(.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(ListFeaturesRequest other)

public ListFeaturesRequest.Builder mergeFrom(ListFeaturesRequest other)
Parameter
NameDescription
otherListFeaturesRequest
Returns
TypeDescription
ListFeaturesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The orderBy to set.

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

The bytes for orderBy to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

Returns
TypeDescription
ListFeaturesRequest.Builder

This builder for chaining.

setParent(String value)

public ListFeaturesRequest.Builder setParent(String value)

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

string parent = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListFeaturesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListFeaturesRequest.Builder setParentBytes(ByteString value)

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

string parent = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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