Class ListNetworksResponse (0.2.0)

public final class ListNetworksResponse extends GeneratedMessageV3 implements ListNetworksResponseOrBuilder

Message for response to listing Networks

Protobuf type google.cloud.edgenetwork.v1.ListNetworksResponse

Static Fields

NETWORKS_FIELD_NUMBER

public static final int NETWORKS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_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 ListNetworksResponse getDefaultInstance()
Returns
TypeDescription
ListNetworksResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListNetworksResponse prototype)

public static ListNetworksResponse.Builder newBuilder(ListNetworksResponse prototype)
Parameter
NameDescription
prototypeListNetworksResponse
Returns
TypeDescription
ListNetworksResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListNetworksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNetworksResponse

getNetworks(int index)

public Network getNetworks(int index)

The list of Network

repeated .google.cloud.edgenetwork.v1.Network networks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Network

getNetworksCount()

public int getNetworksCount()

The list of Network

repeated .google.cloud.edgenetwork.v1.Network networks = 1;

Returns
TypeDescription
int

getNetworksList()

public List<Network> getNetworksList()

The list of Network

repeated .google.cloud.edgenetwork.v1.Network networks = 1;

Returns
TypeDescription
List<Network>

getNetworksOrBuilder(int index)

public NetworkOrBuilder getNetworksOrBuilder(int index)

The list of Network

repeated .google.cloud.edgenetwork.v1.Network networks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkOrBuilder

getNetworksOrBuilderList()

public List<? extends NetworkOrBuilder> getNetworksOrBuilderList()

The list of Network

repeated .google.cloud.edgenetwork.v1.Network networks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.edgenetwork.v1.NetworkOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ListNetworksResponse.Builder newBuilderForType()
Returns
TypeDescription
ListNetworksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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