public final class ListFeaturesRequest extends GeneratedMessageV3 implements ListFeaturesRequestOrBuilder
Request message for GkeHub.ListFeatures
method.
Protobuf type google.cloud.gkehub.v1.ListFeaturesRequest
Fields
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
ORDER_BY_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER
Field Value
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ListFeaturesRequest getDefaultInstance()
Returns
getDefaultInstanceForType()
public ListFeaturesRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
getOrderBy()
public String getOrderBy()
Returns
Type | Description |
String | The orderBy.
|
getOrderByBytes()
public ByteString getOrderByBytes()
Returns
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
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
getParserForType()
public Parser<ListFeaturesRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ListFeaturesRequest.Builder newBuilder()
Returns
newBuilder(ListFeaturesRequest prototype)
public static ListFeaturesRequest.Builder newBuilder(ListFeaturesRequest prototype)
Parameter
Returns
newBuilderForType()
public ListFeaturesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListFeaturesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ListFeaturesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListFeaturesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListFeaturesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListFeaturesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListFeaturesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListFeaturesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListFeaturesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListFeaturesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListFeaturesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListFeaturesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListFeaturesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListFeaturesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListFeaturesRequest> parser()
Returns
toBuilder()
public ListFeaturesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions