public static final class ListSinksResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder> implements ListSinksResponseOrBuilder
Result returned from `ListSinks`.Protobuf type
google.logging.v2.ListSinksResponse
Modifier and Type | Method and Description |
---|---|
ListSinksResponse.Builder |
addAllSinks(Iterable<? extends LogSink> values)
A list of sinks.
|
ListSinksResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSinksResponse.Builder |
addSinks(int index,
LogSink.Builder builderForValue)
A list of sinks.
|
ListSinksResponse.Builder |
addSinks(int index,
LogSink value)
A list of sinks.
|
ListSinksResponse.Builder |
addSinks(LogSink.Builder builderForValue)
A list of sinks.
|
ListSinksResponse.Builder |
addSinks(LogSink value)
A list of sinks.
|
LogSink.Builder |
addSinksBuilder()
A list of sinks.
|
LogSink.Builder |
addSinksBuilder(int index)
A list of sinks.
|
ListSinksResponse |
build() |
ListSinksResponse |
buildPartial() |
ListSinksResponse.Builder |
clear() |
ListSinksResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSinksResponse.Builder |
clearNextPageToken()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListSinksResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSinksResponse.Builder |
clearSinks()
A list of sinks.
|
ListSinksResponse.Builder |
clone() |
ListSinksResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
LogSink |
getSinks(int index)
A list of sinks.
|
LogSink.Builder |
getSinksBuilder(int index)
A list of sinks.
|
List<LogSink.Builder> |
getSinksBuilderList()
A list of sinks.
|
int |
getSinksCount()
A list of sinks.
|
List<LogSink> |
getSinksList()
A list of sinks.
|
LogSinkOrBuilder |
getSinksOrBuilder(int index)
A list of sinks.
|
List<? extends LogSinkOrBuilder> |
getSinksOrBuilderList()
A list of sinks.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSinksResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSinksResponse.Builder |
mergeFrom(ListSinksResponse other) |
ListSinksResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSinksResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSinksResponse.Builder |
removeSinks(int index)
A list of sinks.
|
ListSinksResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSinksResponse.Builder |
setNextPageToken(String value)
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListSinksResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListSinksResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSinksResponse.Builder |
setSinks(int index,
LogSink.Builder builderForValue)
A list of sinks.
|
ListSinksResponse.Builder |
setSinks(int index,
LogSink value)
A list of sinks.
|
ListSinksResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListSinksResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListSinksResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListSinksResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder mergeFrom(ListSinksResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public ListSinksResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListSinksResponse.Builder>
IOException
public List<LogSink> getSinksList()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
getSinksList
in interface ListSinksResponseOrBuilder
public int getSinksCount()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
getSinksCount
in interface ListSinksResponseOrBuilder
public LogSink getSinks(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
getSinks
in interface ListSinksResponseOrBuilder
public ListSinksResponse.Builder setSinks(int index, LogSink value)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public ListSinksResponse.Builder setSinks(int index, LogSink.Builder builderForValue)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public ListSinksResponse.Builder addSinks(LogSink value)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public ListSinksResponse.Builder addSinks(int index, LogSink value)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public ListSinksResponse.Builder addSinks(LogSink.Builder builderForValue)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public ListSinksResponse.Builder addSinks(int index, LogSink.Builder builderForValue)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public ListSinksResponse.Builder addAllSinks(Iterable<? extends LogSink> values)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public ListSinksResponse.Builder clearSinks()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public ListSinksResponse.Builder removeSinks(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public LogSink.Builder getSinksBuilder(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public LogSinkOrBuilder getSinksOrBuilder(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
getSinksOrBuilder
in interface ListSinksResponseOrBuilder
public List<? extends LogSinkOrBuilder> getSinksOrBuilderList()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
getSinksOrBuilderList
in interface ListSinksResponseOrBuilder
public LogSink.Builder addSinksBuilder()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public LogSink.Builder addSinksBuilder(int index)
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
public List<LogSink.Builder> getSinksBuilderList()
A list of sinks.
repeated .google.logging.v2.LogSink sinks = 1;
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;
getNextPageToken
in interface ListSinksResponseOrBuilder
public com.google.protobuf.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;
getNextPageTokenBytes
in interface ListSinksResponseOrBuilder
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;
value
- The nextPageToken to set.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;
public ListSinksResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
value
- The bytes for nextPageToken to set.public final ListSinksResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
public final ListSinksResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSinksResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.