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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesRequest.Builder>
    • getDefaultInstanceForType

      public Compute.ListInstancesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Compute.ListInstancesRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Compute.ListInstancesRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.ListInstancesRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getPaginationCursor in interface Compute.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

      public Compute.ListInstancesRequest.Builder 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:
      getMaxEntries in interface Compute.ListInstancesRequestOrBuilder
      Returns:
      The maxEntries.
    • setMaxEntries

      public Compute.ListInstancesRequest.Builder setMaxEntries(long value)
       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

      public Compute.ListInstancesRequest.Builder 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:
      getIncludeCompleteRuns in interface Compute.ListInstancesRequestOrBuilder
      Returns:
      The includeCompleteRuns.
    • setIncludeCompleteRuns

      public Compute.ListInstancesRequest.Builder setIncludeCompleteRuns(boolean value)
       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

      public Compute.ListInstancesRequest.Builder 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:
      hasNotOlderThan in interface Compute.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:
      getNotOlderThan in interface Compute.ListInstancesRequestOrBuilder
      Returns:
      The notOlderThan.
    • setNotOlderThan

      public Compute.ListInstancesRequest.Builder setNotOlderThan(com.google.protobuf.Timestamp value)
       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

      public Compute.ListInstancesRequest.Builder mergeNotOlderThan(com.google.protobuf.Timestamp value)
       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

      public Compute.ListInstancesRequest.Builder 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:
      getNotOlderThanOrBuilder in interface Compute.ListInstancesRequestOrBuilder
    • getLabelFilterList

      public List<Labels.LabelFilterEntry> getLabelFilterList()
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
      Specified by:
      getLabelFilterList in interface Compute.ListInstancesRequestOrBuilder
    • getLabelFilterCount

      public int getLabelFilterCount()
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
      Specified by:
      getLabelFilterCount in interface Compute.ListInstancesRequestOrBuilder
    • getLabelFilter

      public Labels.LabelFilterEntry getLabelFilter(int index)
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
      Specified by:
      getLabelFilter in interface Compute.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

       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

      public Compute.ListInstancesRequest.Builder clearLabelFilter()
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
    • removeLabelFilter

      public Compute.ListInstancesRequest.Builder removeLabelFilter(int index)
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
    • getLabelFilterBuilder

      public Labels.LabelFilterEntry.Builder getLabelFilterBuilder(int index)
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
    • getLabelFilterOrBuilder

      public Labels.LabelFilterEntryOrBuilder getLabelFilterOrBuilder(int index)
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
      Specified by:
      getLabelFilterOrBuilder in interface Compute.ListInstancesRequestOrBuilder
    • getLabelFilterOrBuilderList

      public List<? extends Labels.LabelFilterEntryOrBuilder> getLabelFilterOrBuilderList()
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
      Specified by:
      getLabelFilterOrBuilderList in interface Compute.ListInstancesRequestOrBuilder
    • addLabelFilterBuilder

      public Labels.LabelFilterEntry.Builder addLabelFilterBuilder()
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
    • addLabelFilterBuilder

      public Labels.LabelFilterEntry.Builder addLabelFilterBuilder(int index)
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;
    • getLabelFilterBuilderList

      public List<Labels.LabelFilterEntry.Builder> getLabelFilterBuilderList()
       Only return instances that match the specified filter.
       
      repeated .namespace.stdlib.LabelFilterEntry label_filter = 5;