Class QueryHubStatusResponse.Builder (1.54.0)

public static final class QueryHubStatusResponse.Builder extends GeneratedMessageV3.Builder<QueryHubStatusResponse.Builder> implements QueryHubStatusResponseOrBuilder

The response for HubService.QueryHubStatus.

Protobuf type google.cloud.networkconnectivity.v1.QueryHubStatusResponse

Static Methods

getDescriptor()

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

Methods

addAllHubStatusEntries(Iterable<? extends HubStatusEntry> values)

public QueryHubStatusResponse.Builder addAllHubStatusEntries(Iterable<? extends HubStatusEntry> values)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkconnectivity.v1.HubStatusEntry>
Returns
Type Description
QueryHubStatusResponse.Builder

addHubStatusEntries(HubStatusEntry value)

public QueryHubStatusResponse.Builder addHubStatusEntries(HubStatusEntry value)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameter
Name Description
value HubStatusEntry
Returns
Type Description
QueryHubStatusResponse.Builder

addHubStatusEntries(HubStatusEntry.Builder builderForValue)

public QueryHubStatusResponse.Builder addHubStatusEntries(HubStatusEntry.Builder builderForValue)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameter
Name Description
builderForValue HubStatusEntry.Builder
Returns
Type Description
QueryHubStatusResponse.Builder

addHubStatusEntries(int index, HubStatusEntry value)

public QueryHubStatusResponse.Builder addHubStatusEntries(int index, HubStatusEntry value)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameters
Name Description
index int
value HubStatusEntry
Returns
Type Description
QueryHubStatusResponse.Builder

addHubStatusEntries(int index, HubStatusEntry.Builder builderForValue)

public QueryHubStatusResponse.Builder addHubStatusEntries(int index, HubStatusEntry.Builder builderForValue)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameters
Name Description
index int
builderForValue HubStatusEntry.Builder
Returns
Type Description
QueryHubStatusResponse.Builder

addHubStatusEntriesBuilder()

public HubStatusEntry.Builder addHubStatusEntriesBuilder()

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Returns
Type Description
HubStatusEntry.Builder

addHubStatusEntriesBuilder(int index)

public HubStatusEntry.Builder addHubStatusEntriesBuilder(int index)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
HubStatusEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryHubStatusResponse build()
Returns
Type Description
QueryHubStatusResponse

buildPartial()

public QueryHubStatusResponse buildPartial()
Returns
Type Description
QueryHubStatusResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHubStatusEntries()

public QueryHubStatusResponse.Builder clearHubStatusEntries()

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Returns
Type Description
QueryHubStatusResponse.Builder

clearNextPageToken()

public QueryHubStatusResponse.Builder clearNextPageToken()

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Returns
Type Description
QueryHubStatusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public QueryHubStatusResponse getDefaultInstanceForType()
Returns
Type Description
QueryHubStatusResponse

getDescriptorForType()

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

getHubStatusEntries(int index)

public HubStatusEntry getHubStatusEntries(int index)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
HubStatusEntry

getHubStatusEntriesBuilder(int index)

public HubStatusEntry.Builder getHubStatusEntriesBuilder(int index)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
HubStatusEntry.Builder

getHubStatusEntriesBuilderList()

public List<HubStatusEntry.Builder> getHubStatusEntriesBuilderList()

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Returns
Type Description
List<Builder>

getHubStatusEntriesCount()

public int getHubStatusEntriesCount()

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Returns
Type Description
int

getHubStatusEntriesList()

public List<HubStatusEntry> getHubStatusEntriesList()

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Returns
Type Description
List<HubStatusEntry>

getHubStatusEntriesOrBuilder(int index)

public HubStatusEntryOrBuilder getHubStatusEntriesOrBuilder(int index)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
HubStatusEntryOrBuilder

getHubStatusEntriesOrBuilderList()

public List<? extends HubStatusEntryOrBuilder> getHubStatusEntriesOrBuilderList()

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1.HubStatusEntryOrBuilder>

getNextPageToken()

public String getNextPageToken()

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryHubStatusResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeHubStatusEntries(int index)

public QueryHubStatusResponse.Builder removeHubStatusEntries(int index)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryHubStatusResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHubStatusEntries(int index, HubStatusEntry value)

public QueryHubStatusResponse.Builder setHubStatusEntries(int index, HubStatusEntry value)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameters
Name Description
index int
value HubStatusEntry
Returns
Type Description
QueryHubStatusResponse.Builder

setHubStatusEntries(int index, HubStatusEntry.Builder builderForValue)

public QueryHubStatusResponse.Builder setHubStatusEntries(int index, HubStatusEntry.Builder builderForValue)

The list of hub status.

repeated .google.cloud.networkconnectivity.v1.HubStatusEntry hub_status_entries = 1;

Parameters
Name Description
index int
builderForValue HubStatusEntry.Builder
Returns
Type Description
QueryHubStatusResponse.Builder

setNextPageToken(String value)

public QueryHubStatusResponse.Builder setNextPageToken(String value)

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
QueryHubStatusResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public QueryHubStatusResponse.Builder setNextPageTokenBytes(ByteString value)

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
QueryHubStatusResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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