Class ListSinksResponse (3.5.3)

public final class ListSinksResponse extends GeneratedMessageV3 implements ListSinksResponseOrBuilder

Result returned from ListSinks.

Protobuf type google.logging.v2.ListSinksResponse

Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SINKS_FIELD_NUMBER

public static final int SINKS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static ListSinksResponse getDefaultInstance()
Returns
TypeDescription
ListSinksResponse

getDefaultInstanceForType()

public ListSinksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSinksResponse

getDescriptor()

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

getNextPageToken()

public String getNextPageToken()

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSinks(int index)

public LogSink getSinks(int index)

A list of sinks.

repeated .google.logging.v2.LogSink sinks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogSink

getSinksCount()

public int getSinksCount()

A list of sinks.

repeated .google.logging.v2.LogSink sinks = 1;

Returns
TypeDescription
int

getSinksList()

public List<LogSink> getSinksList()

A list of sinks.

repeated .google.logging.v2.LogSink sinks = 1;

Returns
TypeDescription
List<LogSink>

getSinksOrBuilder(int index)

public LogSinkOrBuilder getSinksOrBuilder(int index)

A list of sinks.

repeated .google.logging.v2.LogSink sinks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogSinkOrBuilder

getSinksOrBuilderList()

public List<? extends LogSinkOrBuilder> getSinksOrBuilderList()

A list of sinks.

repeated .google.logging.v2.LogSink sinks = 1;

Returns
TypeDescription
List<? extends com.google.logging.v2.LogSinkOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilder()

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

newBuilder(ListSinksResponse prototype)

public static ListSinksResponse.Builder newBuilder(ListSinksResponse prototype)
Parameter
NameDescription
prototypeListSinksResponse
Returns
TypeDescription
ListSinksResponse.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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