Class ListSpokesResponse (1.6.0)

public final class ListSpokesResponse extends GeneratedMessageV3 implements ListSpokesResponseOrBuilder

The response for HubService.ListSpokes.

Protobuf type google.cloud.networkconnectivity.v1.ListSpokesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SPOKES_FIELD_NUMBER

public static final int SPOKES_FIELD_NUMBER
Field Value
TypeDescription
int

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSpokesResponse getDefaultInstance()
Returns
TypeDescription
ListSpokesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListSpokesResponse prototype)

public static ListSpokesResponse.Builder newBuilder(ListSpokesResponse prototype)
Parameter
NameDescription
prototypeListSpokesResponse
Returns
TypeDescription
ListSpokesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListSpokesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSpokesResponse

getNextPageToken()

public String getNextPageToken()

The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSpokes(int index)

public Spoke getSpokes(int index)

The requested spokes.

repeated .google.cloud.networkconnectivity.v1.Spoke spokes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Spoke

getSpokesCount()

public int getSpokesCount()

The requested spokes.

repeated .google.cloud.networkconnectivity.v1.Spoke spokes = 1;

Returns
TypeDescription
int

getSpokesList()

public List<Spoke> getSpokesList()

The requested spokes.

repeated .google.cloud.networkconnectivity.v1.Spoke spokes = 1;

Returns
TypeDescription
List<Spoke>

getSpokesOrBuilder(int index)

public SpokeOrBuilder getSpokesOrBuilder(int index)

The requested spokes.

repeated .google.cloud.networkconnectivity.v1.Spoke spokes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpokeOrBuilder

getSpokesOrBuilderList()

public List<? extends SpokeOrBuilder> getSpokesOrBuilderList()

The requested spokes.

repeated .google.cloud.networkconnectivity.v1.Spoke spokes = 1;

Returns
TypeDescription
List<? extends com.google.cloud.networkconnectivity.v1.SpokeOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

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 ListSpokesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSpokesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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