Package namespace.cloud.compute.v1beta
Interface Compute.ListInstancesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Compute.ListInstancesRequest,Compute.ListInstancesRequest.Builder
- Enclosing class:
Compute
public static interface Compute.ListInstancesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf not set, only returns instances in the PENDING, CREATING or RUNNING states.getLabelFilter(int index) Only return instances that match the specified filter.intOnly return instances that match the specified filter.Only return instances that match the specified filter.getLabelFilterOrBuilder(int index) Only return instances that match the specified filter.List<? extends Labels.LabelFilterEntryOrBuilder> Only return instances that match the specified filter.longThe maximum number of entries to return as part of this ListInstances request.com.google.protobuf.TimestampDon't return instances that were created before the specified timestamp (in UTC).com.google.protobuf.TimestampOrBuilderDon't return instances that were created before the specified timestamp (in UTC).com.google.protobuf.ByteStringIf a previous response returned a `pagination_cursor`, it can be specified to continue reading results with the same arguments as the original call.booleanDon't return instances that were created before the specified timestamp (in UTC).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPaginationCursor
com.google.protobuf.ByteString getPaginationCursor()If a previous response returned a `pagination_cursor`, it can be specified to continue reading results with the same arguments as the original call.
bytes pagination_cursor = 1;- Returns:
- The paginationCursor.
-
getMaxEntries
long getMaxEntries()The maximum number of entries to return as part of this ListInstances request. A maximum number of entries may also be specified when `pagination_cursor` is set. We won't return more than `max_entries`, but may return fewer.
int64 max_entries = 2;- Returns:
- The maxEntries.
-
getIncludeCompleteRuns
boolean getIncludeCompleteRuns()If not set, only returns instances in the PENDING, CREATING or RUNNING states. If set, also includes instances in the DESTROYED and ERROR states.
bool include_complete_runs = 3;- Returns:
- The includeCompleteRuns.
-
hasNotOlderThan
boolean hasNotOlderThan()Don't return instances that were created before the specified timestamp (in UTC). Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp not_older_than = 4;- Returns:
- Whether the notOlderThan field is set.
-
getNotOlderThan
com.google.protobuf.Timestamp getNotOlderThan()Don't return instances that were created before the specified timestamp (in UTC). Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp not_older_than = 4;- Returns:
- The notOlderThan.
-
getNotOlderThanOrBuilder
com.google.protobuf.TimestampOrBuilder getNotOlderThanOrBuilder()Don't return instances that were created before the specified timestamp (in UTC). Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp not_older_than = 4; -
getLabelFilterList
List<Labels.LabelFilterEntry> getLabelFilterList()Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
getLabelFilter
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
getLabelFilterCount
int getLabelFilterCount()Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
getLabelFilterOrBuilderList
List<? extends Labels.LabelFilterEntryOrBuilder> getLabelFilterOrBuilderList()Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
getLabelFilterOrBuilder
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
-