Class ListSinksResponse (3.20.1)

public final class ListSinksResponse extends GeneratedMessageV3 implements ListSinksResponseOrBuilder

Result returned from ListSinks.

Protobuf type google.logging.v2.ListSinksResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

SINKS_FIELD_NUMBER

public static final int SINKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListSinksResponse getDefaultInstance()
Returns
Type Description
ListSinksResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListSinksResponse.Builder newBuilder()
Returns
Type Description
ListSinksResponse.Builder

newBuilder(ListSinksResponse prototype)

public static ListSinksResponse.Builder newBuilder(ListSinksResponse prototype)
Parameter
Name Description
prototype ListSinksResponse
Returns
Type Description
ListSinksResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSinksResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSinksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListSinksResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSinksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSinksResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSinksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSinksResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSinksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListSinksResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSinksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListSinksResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSinksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSinksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListSinksResponse> parser()
Returns
Type Description
Parser<ListSinksResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListSinksResponse getDefaultInstanceForType()
Returns
Type Description
ListSinksResponse

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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSinksResponse> getParserForType()
Returns
Type Description
Parser<ListSinksResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSinks(int index)

public LogSink getSinks(int index)

A list of sinks.

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

Parameter
Name Description
index int
Returns
Type Description
LogSink

getSinksCount()

public int getSinksCount()

A list of sinks.

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

Returns
Type Description
int

getSinksList()

public List<LogSink> getSinksList()

A list of sinks.

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

Returns
Type Description
List<LogSink>

getSinksOrBuilder(int index)

public LogSinkOrBuilder getSinksOrBuilder(int index)

A list of sinks.

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

Parameter
Name Description
index int
Returns
Type Description
LogSinkOrBuilder

getSinksOrBuilderList()

public List<? extends LogSinkOrBuilder> getSinksOrBuilderList()

A list of sinks.

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

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListSinksResponse.Builder newBuilderForType()
Returns
Type Description
ListSinksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSinksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListSinksResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListSinksResponse.Builder toBuilder()
Returns
Type Description
ListSinksResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException