Class QueryHubStatusRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryHubStatusRequest.Builder>
com.google.cloud.networkconnectivity.v1beta.QueryHubStatusRequest.Builder
All Implemented Interfaces:
QueryHubStatusRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QueryHubStatusRequest

public static final class QueryHubStatusRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryHubStatusRequest.Builder> implements QueryHubStatusRequestOrBuilder
 The request for
 [HubService.QueryHubStatus][google.cloud.networkconnectivity.v1beta.HubService.QueryHubStatus].
 
Protobuf type google.cloud.networkconnectivity.v1beta.QueryHubStatusRequest
  • 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<QueryHubStatusRequest.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<QueryHubStatusRequest.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<QueryHubStatusRequest.Builder>
    • getDefaultInstanceForType

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

      public QueryHubStatusRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public QueryHubStatusRequest.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<QueryHubStatusRequest.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<QueryHubStatusRequest.Builder>
    • mergeFrom

      public QueryHubStatusRequest.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<QueryHubStatusRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The name of the hub.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface QueryHubStatusRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the hub.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface QueryHubStatusRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public QueryHubStatusRequest.Builder setName(String value)
       Required. The name of the hub.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public QueryHubStatusRequest.Builder clearName()
       Required. The name of the hub.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public QueryHubStatusRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the hub.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Optional. The maximum number of results to return per page.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface QueryHubStatusRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public QueryHubStatusRequest.Builder setPageSize(int value)
       Optional. The maximum number of results to return per page.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public QueryHubStatusRequest.Builder clearPageSize()
       Optional. The maximum number of results to return per page.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Optional. The page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface QueryHubStatusRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. The page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface QueryHubStatusRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public QueryHubStatusRequest.Builder setPageToken(String value)
       Optional. The page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public QueryHubStatusRequest.Builder clearPageToken()
       Optional. The page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public QueryHubStatusRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Optional. The page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Optional. An expression that filters the list of results.
       The filter can be used to filter the results by the following fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       * `psc_propagation_status.message`
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface QueryHubStatusRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. An expression that filters the list of results.
       The filter can be used to filter the results by the following fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       * `psc_propagation_status.message`
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface QueryHubStatusRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public QueryHubStatusRequest.Builder setFilter(String value)
       Optional. An expression that filters the list of results.
       The filter can be used to filter the results by the following fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       * `psc_propagation_status.message`
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public QueryHubStatusRequest.Builder clearFilter()
       Optional. An expression that filters the list of results.
       The filter can be used to filter the results by the following fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       * `psc_propagation_status.message`
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public QueryHubStatusRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. An expression that filters the list of results.
       The filter can be used to filter the results by the following fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       * `psc_propagation_status.message`
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getOrderBy

      public String getOrderBy()
       Optional. Sort the results in ascending order by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       If `group_by` is set, the value of the `order_by` field must be the
       same as or a subset of the `group_by` field.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBy in interface QueryHubStatusRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Optional. Sort the results in ascending order by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       If `group_by` is set, the value of the `order_by` field must be the
       same as or a subset of the `group_by` field.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderByBytes in interface QueryHubStatusRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • setOrderBy

      public QueryHubStatusRequest.Builder setOrderBy(String value)
       Optional. Sort the results in ascending order by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       If `group_by` is set, the value of the `order_by` field must be the
       same as or a subset of the `group_by` field.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The orderBy to set.
      Returns:
      This builder for chaining.
    • clearOrderBy

      public QueryHubStatusRequest.Builder clearOrderBy()
       Optional. Sort the results in ascending order by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       If `group_by` is set, the value of the `order_by` field must be the
       same as or a subset of the `group_by` field.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOrderByBytes

      public QueryHubStatusRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
       Optional. Sort the results in ascending order by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       If `group_by` is set, the value of the `order_by` field must be the
       same as or a subset of the `group_by` field.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for orderBy to set.
      Returns:
      This builder for chaining.
    • getGroupBy

      public String getGroupBy()
       Optional. Aggregate the results by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       
      string group_by = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGroupBy in interface QueryHubStatusRequestOrBuilder
      Returns:
      The groupBy.
    • getGroupByBytes

      public com.google.protobuf.ByteString getGroupByBytes()
       Optional. Aggregate the results by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       
      string group_by = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGroupByBytes in interface QueryHubStatusRequestOrBuilder
      Returns:
      The bytes for groupBy.
    • setGroupBy

      public QueryHubStatusRequest.Builder setGroupBy(String value)
       Optional. Aggregate the results by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       
      string group_by = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The groupBy to set.
      Returns:
      This builder for chaining.
    • clearGroupBy

      public QueryHubStatusRequest.Builder clearGroupBy()
       Optional. Aggregate the results by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       
      string group_by = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setGroupByBytes

      public QueryHubStatusRequest.Builder setGroupByBytes(com.google.protobuf.ByteString value)
       Optional. Aggregate the results by the specified fields.
       A comma-separated list of any of these fields:
       * `psc_propagation_status.source_spoke`
       * `psc_propagation_status.source_group`
       * `psc_propagation_status.source_forwarding_rule`
       * `psc_propagation_status.target_spoke`
       * `psc_propagation_status.target_group`
       * `psc_propagation_status.code`
       
      string group_by = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for groupBy to set.
      Returns:
      This builder for chaining.