Send feedback
Class ListSinksResponse.Builder (3.15.17)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.15.17 keyboard_arrow_down
public static final class ListSinksResponse . Builder extends GeneratedMessageV3 . Builder<ListSinksResponse . Builder > implements ListSinksResponseOrBuilder
Result returned from ListSinks
.
Protobuf type google.logging.v2.ListSinksResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllSinks(Iterable<? extends LogSink> values)
public ListSinksResponse . Builder addAllSinks ( Iterable <? extends LogSink > values )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter Name Description values
Iterable <? extends com.google.logging.v2.LogSink >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSinksResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSinks(LogSink value)
public ListSinksResponse . Builder addSinks ( LogSink value )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter Name Description value
LogSink
addSinks(LogSink.Builder builderForValue)
public ListSinksResponse . Builder addSinks ( LogSink . Builder builderForValue )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
addSinks(int index, LogSink value)
public ListSinksResponse . Builder addSinks ( int index , LogSink value )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
addSinks(int index, LogSink.Builder builderForValue)
public ListSinksResponse . Builder addSinks ( int index , LogSink . Builder builderForValue )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
addSinksBuilder()
public LogSink . Builder addSinksBuilder ()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
addSinksBuilder(int index)
public LogSink . Builder addSinksBuilder ( int index )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter Name Description index
int
build()
public ListSinksResponse build ()
buildPartial()
public ListSinksResponse buildPartial ()
clear()
public ListSinksResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSinksResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
public ListSinksResponse . Builder clearNextPageToken ()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSinksResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSinks()
public ListSinksResponse . Builder clearSinks ()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
clone()
public ListSinksResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListSinksResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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.
getSinks(int index)
public LogSink getSinks ( int index )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter Name Description index
int
getSinksBuilder(int index)
public LogSink . Builder getSinksBuilder ( int index )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter Name Description index
int
getSinksBuilderList()
public List<LogSink . Builder > getSinksBuilderList ()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
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;
getSinksOrBuilder(int index)
public LogSinkOrBuilder getSinksOrBuilder ( int index )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter Name Description index
int
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 >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListSinksResponse other)
public ListSinksResponse . Builder mergeFrom ( ListSinksResponse other )
public ListSinksResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListSinksResponse . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSinksResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeSinks(int index)
public ListSinksResponse . Builder removeSinks ( int index )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter Name Description index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ListSinksResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
public ListSinksResponse . Builder setNextPageToken ( String value )
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;
Parameter Name Description value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListSinksResponse . Builder setNextPageTokenBytes ( ByteString value )
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;
Parameter Name Description value
ByteString
The bytes for nextPageToken to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSinksResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSinks(int index, LogSink value)
public ListSinksResponse . Builder setSinks ( int index , LogSink value )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
setSinks(int index, LogSink.Builder builderForValue)
public ListSinksResponse . Builder setSinks ( int index , LogSink . Builder builderForValue )
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSinksResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]