public static final class ListHubSpokesRequest.Builder extends GeneratedMessageV3.Builder<ListHubSpokesRequest.Builder> implements ListHubSpokesRequestOrBuilderThe request for HubService.ListHubSpokes.
Protobuf type google.cloud.networkconnectivity.v1.ListHubSpokesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListHubSpokesRequest.BuilderImplements
ListHubSpokesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSpokeLocations(Iterable<String> values)
public ListHubSpokesRequest.Builder addAllSpokeLocations(Iterable<String> values) A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The spokeLocations to add. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListHubSpokesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
addSpokeLocations(String value)
public ListHubSpokesRequest.Builder addSpokeLocations(String value) A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe spokeLocations to add. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
addSpokeLocationsBytes(ByteString value)
public ListHubSpokesRequest.Builder addSpokeLocationsBytes(ByteString value) A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the spokeLocations to add. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
build()
public ListHubSpokesRequest build()| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest |
|
buildPartial()
public ListHubSpokesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest |
|
clear()
public ListHubSpokesRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListHubSpokesRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
clearFilter()
public ListHubSpokesRequest.Builder clearFilter()An expression that filters the list of results.
string filter = 5;
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
clearName()
public ListHubSpokesRequest.Builder clearName()Required. The name of the hub.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListHubSpokesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
clearOrderBy()
public ListHubSpokesRequest.Builder clearOrderBy()Sort the results by name or create_time.
string order_by = 6;
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListHubSpokesRequest.Builder clearPageSize()The maximum number of results to return per page.
int32 page_size = 3;
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListHubSpokesRequest.Builder clearPageToken()The page token.
string page_token = 4;
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
clearSpokeLocations()
public ListHubSpokesRequest.Builder clearSpokeLocations() A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
clearView()
public ListHubSpokesRequest.Builder clearView()The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
.google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView view = 7;
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
clone()
public ListHubSpokesRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
getDefaultInstanceForType()
public ListHubSpokesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()An expression that filters the list of results.
string filter = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()An expression that filters the list of results.
string filter = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
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()Sort the results by name or create_time.
string order_by = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The orderBy. |
getOrderByBytes()
public ByteString getOrderByBytes()Sort the results by name or create_time.
string order_by = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for orderBy. |
getPageSize()
public int getPageSize()The maximum number of results to return per page.
int32 page_size = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()The page token.
string page_token = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()The page token.
string page_token = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getSpokeLocations(int index)
public String getSpokeLocations(int index) A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The spokeLocations at the given index. |
getSpokeLocationsBytes(int index)
public ByteString getSpokeLocationsBytes(int index) A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the spokeLocations at the given index. |
getSpokeLocationsCount()
public int getSpokeLocationsCount() A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of spokeLocations. |
getSpokeLocationsList()
public ProtocolStringList getSpokeLocationsList() A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the spokeLocations. |
getView()
public ListHubSpokesRequest.SpokeView getView()The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
.google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView view = 7;
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.SpokeView |
The view. |
getViewValue()
public int getViewValue()The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
.google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView view = 7;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for view. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListHubSpokesRequest other)
public ListHubSpokesRequest.Builder mergeFrom(ListHubSpokesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListHubSpokesRequest |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListHubSpokesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListHubSpokesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListHubSpokesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListHubSpokesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
setFilter(String value)
public ListHubSpokesRequest.Builder setFilter(String value)An expression that filters the list of results.
string filter = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListHubSpokesRequest.Builder setFilterBytes(ByteString value)An expression that filters the list of results.
string filter = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setName(String value)
public ListHubSpokesRequest.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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ListHubSpokesRequest.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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setOrderBy(String value)
public ListHubSpokesRequest.Builder setOrderBy(String value)Sort the results by name or create_time.
string order_by = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setOrderByBytes(ByteString value)
public ListHubSpokesRequest.Builder setOrderByBytes(ByteString value)Sort the results by name or create_time.
string order_by = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListHubSpokesRequest.Builder setPageSize(int value)The maximum number of results to return per page.
int32 page_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListHubSpokesRequest.Builder setPageToken(String value)The page token.
string page_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListHubSpokesRequest.Builder setPageTokenBytes(ByteString value)The page token.
string page_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListHubSpokesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
setSpokeLocations(int index, String value)
public ListHubSpokesRequest.Builder setSpokeLocations(int index, String value) A list of locations.
Specify one of the following: [global], a single region (for
example, [us-central1]), or a combination of
values (for example, [global, us-central1, us-west1]).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
repeated string spoke_locations = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe spokeLocations to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListHubSpokesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
|
setView(ListHubSpokesRequest.SpokeView value)
public ListHubSpokesRequest.Builder setView(ListHubSpokesRequest.SpokeView value)The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
.google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView view = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ListHubSpokesRequest.SpokeViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |
setViewValue(int value)
public ListHubSpokesRequest.Builder setViewValue(int value)The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
.google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView view = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |