public static final class ListSinksResponse.Builder extends GeneratedMessageV3.Builder<ListSinksResponse.Builder> implements ListSinksResponseOrBuilder
Result returned from ListSinks
.
Protobuf type google.logging.v2.ListSinksResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSinksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSinks(LogSink value)
public ListSinksResponse.Builder addSinks(LogSink value)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter
Returns
addSinks(LogSink.Builder builderForValue)
public ListSinksResponse.Builder addSinks(LogSink.Builder builderForValue)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter
Returns
addSinks(int index, LogSink value)
public ListSinksResponse.Builder addSinks(int index, LogSink value)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameters
Returns
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;
Parameters
Returns
addSinksBuilder()
public LogSink.Builder addSinksBuilder()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Returns
addSinksBuilder(int index)
public LogSink.Builder addSinksBuilder(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter
Returns
build()
public ListSinksResponse build()
Returns
buildPartial()
public ListSinksResponse buildPartial()
Returns
clear()
public ListSinksResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSinksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSinksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSinks()
public ListSinksResponse.Builder clearSinks()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Returns
clone()
public ListSinksResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSinksResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getSinksBuilder(int index)
public LogSink.Builder getSinksBuilder(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter
Returns
getSinksBuilderList()
public List<LogSink.Builder> getSinksBuilderList()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Returns
getSinksCount()
public int getSinksCount()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Returns
getSinksList()
public List<LogSink> getSinksList()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Returns
getSinksOrBuilder(int index)
public LogSinkOrBuilder getSinksOrBuilder(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListSinksResponse other)
public ListSinksResponse.Builder mergeFrom(ListSinksResponse other)
Parameter
Returns
public ListSinksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSinksResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSinks(int index)
public ListSinksResponse.Builder removeSinks(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSinksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSinksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides