Class ListHubSpokesRequest (1.41.0)

public final class ListHubSpokesRequest extends GeneratedMessageV3 implements ListHubSpokesRequestOrBuilder

The request for HubService.ListHubSpokes.

Protobuf type google.cloud.networkconnectivity.v1.ListHubSpokesRequest

Static Fields

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ORDER_BY_FIELD_NUMBER

public static final int ORDER_BY_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SPOKE_LOCATIONS_FIELD_NUMBER

public static final int SPOKE_LOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

VIEW_FIELD_NUMBER

public static final int VIEW_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListHubSpokesRequest getDefaultInstance()
Returns
TypeDescription
ListHubSpokesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListHubSpokesRequest.Builder newBuilder()
Returns
TypeDescription
ListHubSpokesRequest.Builder

newBuilder(ListHubSpokesRequest prototype)

public static ListHubSpokesRequest.Builder newBuilder(ListHubSpokesRequest prototype)
Parameter
NameDescription
prototypeListHubSpokesRequest
Returns
TypeDescription
ListHubSpokesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListHubSpokesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListHubSpokesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListHubSpokesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListHubSpokesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListHubSpokesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListHubSpokesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListHubSpokesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListHubSpokesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListHubSpokesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListHubSpokesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListHubSpokesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListHubSpokesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListHubSpokesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListHubSpokesRequest> parser()
Returns
TypeDescription
Parser<ListHubSpokesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListHubSpokesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListHubSpokesRequest

getFilter()

public String getFilter()

An expression that filters the list of results.

string filter = 5;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

An expression that filters the list of results.

string filter = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getOrderBy()

public String getOrderBy()

Sort the results by name or create_time.

string order_by = 6;

Returns
TypeDescription
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Sort the results by name or create_time.

string order_by = 6;

Returns
TypeDescription
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

The maximum number of results to return per page.

int32 page_size = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

The page token.

string page_token = 4;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The page token.

string page_token = 4;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParserForType()

public Parser<ListHubSpokesRequest> getParserForType()
Returns
TypeDescription
Parser<ListHubSpokesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListHubSpokesRequest.Builder newBuilderForType()
Returns
TypeDescription
ListHubSpokesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListHubSpokesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListHubSpokesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListHubSpokesRequest.Builder toBuilder()
Returns
TypeDescription
ListHubSpokesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException