Class QueryHubStatusRequest.Builder (1.54.0)

public static final class QueryHubStatusRequest.Builder extends GeneratedMessageV3.Builder<QueryHubStatusRequest.Builder> implements QueryHubStatusRequestOrBuilder

The request for HubService.QueryHubStatus.

Protobuf type google.cloud.networkconnectivity.v1.QueryHubStatusRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryHubStatusRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

build()

public QueryHubStatusRequest build()
Returns
Type Description
QueryHubStatusRequest

buildPartial()

public QueryHubStatusRequest buildPartial()
Returns
Type Description
QueryHubStatusRequest

clear()

public QueryHubStatusRequest.Builder clear()
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryHubStatusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

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
Type Description
QueryHubStatusRequest.Builder

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
Type Description
QueryHubStatusRequest.Builder

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
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryHubStatusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

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
Type Description
QueryHubStatusRequest.Builder

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
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

clearPageToken()

public QueryHubStatusRequest.Builder clearPageToken()

Optional. The page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

clone()

public QueryHubStatusRequest.Builder clone()
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

getDefaultInstanceForType()

public QueryHubStatusRequest getDefaultInstanceForType()
Returns
Type Description
QueryHubStatusRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
String

The filter.

getFilterBytes()

public 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];

Returns
Type Description
ByteString

The bytes for filter.

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];

Returns
Type Description
String

The groupBy.

getGroupByBytes()

public 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];

Returns
Type Description
ByteString

The bytes for groupBy.

getName()

public String getName()

Required. The name of the hub.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the hub.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

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];

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public 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];

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. The maximum number of results to return per page.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryHubStatusRequest other)

public QueryHubStatusRequest.Builder mergeFrom(QueryHubStatusRequest other)
Parameter
Name Description
other QueryHubStatusRequest
Returns
Type Description
QueryHubStatusRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryHubStatusRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryHubStatusRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryHubStatusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public QueryHubStatusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

setFilter(String value)

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];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public QueryHubStatusRequest.Builder setFilterBytes(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];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setGroupBy(String value)

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];

Parameter
Name Description
value String

The groupBy to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setGroupByBytes(ByteString value)

public QueryHubStatusRequest.Builder setGroupByBytes(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];

Parameter
Name Description
value ByteString

The bytes for groupBy to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setName(String value)

public QueryHubStatusRequest.Builder setName(String value)

Required. The name of the hub.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public QueryHubStatusRequest.Builder setNameBytes(ByteString value)

Required. The name of the hub.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setOrderBy(String value)

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];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public QueryHubStatusRequest.Builder setOrderByBytes(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];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setPageSize(int value)

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];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setPageToken(String value)

public QueryHubStatusRequest.Builder setPageToken(String value)

Optional. The page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public QueryHubStatusRequest.Builder setPageTokenBytes(ByteString value)

Optional. The page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
QueryHubStatusRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueryHubStatusRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryHubStatusRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryHubStatusRequest.Builder
Overrides