- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public static final class ListHubSpokesRequest.Builder extends GeneratedMessageV3.Builder<ListHubSpokesRequest.Builder> implements ListHubSpokesRequestOrBuilder
The 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 |
String The 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 |
ByteString The 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 |
int The 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 |
int The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
int The 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 |
String The 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 |
ByteString The 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 |
int The index to set the value at. |
value |
String The 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.SpokeView The 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 |
int The enum numeric value on the wire for view to set. |
Returns | |
---|---|
Type | Description |
ListHubSpokesRequest.Builder |
This builder for chaining. |