public static final class ListFeaturesRequest.Builder extends GeneratedMessage.Builder<ListFeaturesRequest.Builder> implements ListFeaturesRequestOrBuilder Request message for GkeHub.ListFeatures method.
Protobuf type google.cloud.gkehub.v1alpha.ListFeaturesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListFeaturesRequest.BuilderImplements
ListFeaturesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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
foowhose value isbar:labels.foo = bar
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
ListFeaturesRequest.Builder |
This builder for chaining. |
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. |
getDefaultInstanceForType()
public ListFeaturesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListFeaturesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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
foowhose value isbar: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
foowhose value isbar: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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListFeaturesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListFeaturesRequest.Builder |
|
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
foowhose value isbar:labels.foo = bar
string filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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
foowhose value isbar:labels.foo = bar
string filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListFeaturesRequest.Builder |
This builder for chaining. |