Package namespace.cloud.compute.v1beta
Class Compute.ListInstancesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ListInstancesRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
namespace.cloud.compute.v1beta.Compute.ListInstancesRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.ListInstancesRequestOrBuilder
- Enclosing class:
Compute.ListInstancesRequest
public static final class Compute.ListInstancesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
implements Compute.ListInstancesRequestOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.ListInstancesRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabelFilter(Iterable<? extends Labels.LabelFilterEntry> values) Only return instances that match the specified filter.addLabelFilter(int index, Labels.LabelFilterEntry value) Only return instances that match the specified filter.addLabelFilter(int index, Labels.LabelFilterEntry.Builder builderForValue) Only return instances that match the specified filter.Only return instances that match the specified filter.addLabelFilter(Labels.LabelFilterEntry.Builder builderForValue) Only return instances that match the specified filter.Only return instances that match the specified filter.addLabelFilterBuilder(int index) Only return instances that match the specified filter.build()clear()If not set, only returns instances in the PENDING, CREATING or RUNNING states.Only return instances that match the specified filter.The maximum number of entries to return as part of this ListInstances request.Don't return instances that were created before the specified timestamp (in UTC).If a previous response returned a `pagination_cursor`, it can be specified to continue reading results with the same arguments as the original call.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf not set, only returns instances in the PENDING, CREATING or RUNNING states.getLabelFilter(int index) Only return instances that match the specified filter.getLabelFilterBuilder(int index) Only return instances that match the specified filter.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.Timestamp.BuilderDon'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).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNotOlderThan(com.google.protobuf.Timestamp value) Don't return instances that were created before the specified timestamp (in UTC).removeLabelFilter(int index) Only return instances that match the specified filter.setIncludeCompleteRuns(boolean value) If not set, only returns instances in the PENDING, CREATING or RUNNING states.setLabelFilter(int index, Labels.LabelFilterEntry value) Only return instances that match the specified filter.setLabelFilter(int index, Labels.LabelFilterEntry.Builder builderForValue) Only return instances that match the specified filter.setMaxEntries(long value) The maximum number of entries to return as part of this ListInstances request.setNotOlderThan(com.google.protobuf.Timestamp value) Don't return instances that were created before the specified timestamp (in UTC).setNotOlderThan(com.google.protobuf.Timestamp.Builder builderForValue) Don't return instances that were created before the specified timestamp (in UTC).setPaginationCursor(com.google.protobuf.ByteString value) If a previous response returned a `pagination_cursor`, it can be specified to continue reading results with the same arguments as the original call.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ListInstancesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
-
mergeFrom
public Compute.ListInstancesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ListInstancesRequest.Builder>- Throws:
IOException
-
getPaginationCursor
public 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;- Specified by:
getPaginationCursorin interfaceCompute.ListInstancesRequestOrBuilder- Returns:
- The paginationCursor.
-
setPaginationCursor
public Compute.ListInstancesRequest.Builder setPaginationCursor(com.google.protobuf.ByteString value) 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;- Parameters:
value- The paginationCursor to set.- Returns:
- This builder for chaining.
-
clearPaginationCursor
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:
- This builder for chaining.
-
getMaxEntries
public 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;- Specified by:
getMaxEntriesin interfaceCompute.ListInstancesRequestOrBuilder- Returns:
- The maxEntries.
-
setMaxEntries
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;- Parameters:
value- The maxEntries to set.- Returns:
- This builder for chaining.
-
clearMaxEntries
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:
- This builder for chaining.
-
getIncludeCompleteRuns
public 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;- Specified by:
getIncludeCompleteRunsin interfaceCompute.ListInstancesRequestOrBuilder- Returns:
- The includeCompleteRuns.
-
setIncludeCompleteRuns
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;- Parameters:
value- The includeCompleteRuns to set.- Returns:
- This builder for chaining.
-
clearIncludeCompleteRuns
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:
- This builder for chaining.
-
hasNotOlderThan
public 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;- Specified by:
hasNotOlderThanin interfaceCompute.ListInstancesRequestOrBuilder- Returns:
- Whether the notOlderThan field is set.
-
getNotOlderThan
public 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;- Specified by:
getNotOlderThanin interfaceCompute.ListInstancesRequestOrBuilder- Returns:
- The notOlderThan.
-
setNotOlderThan
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; -
setNotOlderThan
public Compute.ListInstancesRequest.Builder setNotOlderThan(com.google.protobuf.Timestamp.Builder builderForValue) 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; -
mergeNotOlderThan
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; -
clearNotOlderThan
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; -
getNotOlderThanBuilder
public com.google.protobuf.Timestamp.Builder getNotOlderThanBuilder()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; -
getNotOlderThanOrBuilder
public 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;- Specified by:
getNotOlderThanOrBuilderin interfaceCompute.ListInstancesRequestOrBuilder
-
getLabelFilterList
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;- Specified by:
getLabelFilterListin interfaceCompute.ListInstancesRequestOrBuilder
-
getLabelFilterCount
public int getLabelFilterCount()Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;- Specified by:
getLabelFilterCountin interfaceCompute.ListInstancesRequestOrBuilder
-
getLabelFilter
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;- Specified by:
getLabelFilterin interfaceCompute.ListInstancesRequestOrBuilder
-
setLabelFilter
public Compute.ListInstancesRequest.Builder setLabelFilter(int index, Labels.LabelFilterEntry value) Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
setLabelFilter
public Compute.ListInstancesRequest.Builder setLabelFilter(int index, Labels.LabelFilterEntry.Builder builderForValue) Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
addLabelFilter
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
addLabelFilter
public Compute.ListInstancesRequest.Builder addLabelFilter(int index, Labels.LabelFilterEntry value) Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
addLabelFilter
public Compute.ListInstancesRequest.Builder addLabelFilter(Labels.LabelFilterEntry.Builder builderForValue) Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
addLabelFilter
public Compute.ListInstancesRequest.Builder addLabelFilter(int index, Labels.LabelFilterEntry.Builder builderForValue) Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
addAllLabelFilter
public Compute.ListInstancesRequest.Builder addAllLabelFilter(Iterable<? extends Labels.LabelFilterEntry> values) Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
clearLabelFilter
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
removeLabelFilter
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
getLabelFilterBuilder
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;- Specified by:
getLabelFilterOrBuilderin interfaceCompute.ListInstancesRequestOrBuilder
-
getLabelFilterOrBuilderList
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;- Specified by:
getLabelFilterOrBuilderListin interfaceCompute.ListInstancesRequestOrBuilder
-
addLabelFilterBuilder
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
addLabelFilterBuilder
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5; -
getLabelFilterBuilderList
Only return instances that match the specified filter.
repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
-