public static final class ListLogEntriesResponse.Builder extends GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder> implements ListLogEntriesResponseOrBuilder
Result returned from ListLogEntries
.
Protobuf type google.logging.v2.ListLogEntriesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllEntries(Iterable<? extends LogEntry> values)
public ListLogEntriesResponse.Builder addAllEntries(Iterable<? extends LogEntry> values)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.logging.v2.LogEntry>
|
Returns
addEntries(LogEntry value)
public ListLogEntriesResponse.Builder addEntries(LogEntry value)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameter
Returns
addEntries(LogEntry.Builder builderForValue)
public ListLogEntriesResponse.Builder addEntries(LogEntry.Builder builderForValue)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameter
Returns
addEntries(int index, LogEntry value)
public ListLogEntriesResponse.Builder addEntries(int index, LogEntry value)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameters
Returns
addEntries(int index, LogEntry.Builder builderForValue)
public ListLogEntriesResponse.Builder addEntries(int index, LogEntry.Builder builderForValue)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameters
Returns
addEntriesBuilder()
public LogEntry.Builder addEntriesBuilder()
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Returns
addEntriesBuilder(int index)
public LogEntry.Builder addEntriesBuilder(int index)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListLogEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListLogEntriesResponse build()
Returns
buildPartial()
public ListLogEntriesResponse buildPartial()
Returns
clear()
public ListLogEntriesResponse.Builder clear()
Returns
Overrides
clearEntries()
public ListLogEntriesResponse.Builder clearEntries()
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListLogEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListLogEntriesResponse.Builder clearNextPageToken()
If there might be more results than those appearing in this response, then
nextPageToken
is included. To get the next set of results, call this
method again using the value of nextPageToken
as pageToken
.
If a value for next_page_token
appears and the entries
field is empty,
it means that the search found no log entries so far but it did not have
time to search all the possible log entries. Retry the method with this
value for page_token
to continue the search. Alternatively, consider
speeding up the search by changing your filter to specify a single log name
or resource type, or to narrow the time range of the search.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListLogEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListLogEntriesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListLogEntriesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEntries(int index)
public LogEntry getEntries(int index)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameter
Returns
getEntriesBuilder(int index)
public LogEntry.Builder getEntriesBuilder(int index)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameter
Returns
getEntriesBuilderList()
public List<LogEntry.Builder> getEntriesBuilderList()
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Returns
getEntriesCount()
public int getEntriesCount()
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Returns
getEntriesList()
public List<LogEntry> getEntriesList()
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Returns
getEntriesOrBuilder(int index)
public LogEntryOrBuilder getEntriesOrBuilder(int index)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameter
Returns
getEntriesOrBuilderList()
public List<? extends LogEntryOrBuilder> getEntriesOrBuilderList()
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Returns
Type | Description |
List<? extends com.google.logging.v2.LogEntryOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
If there might be more results than those appearing in this response, then
nextPageToken
is included. To get the next set of results, call this
method again using the value of nextPageToken
as pageToken
.
If a value for next_page_token
appears and the entries
field is empty,
it means that the search found no log entries so far but it did not have
time to search all the possible log entries. Retry the method with this
value for page_token
to continue the search. Alternatively, consider
speeding up the search by changing your filter to specify a single log name
or resource type, or to narrow the time range of the search.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If there might be more results than those appearing in this response, then
nextPageToken
is included. To get the next set of results, call this
method again using the value of nextPageToken
as pageToken
.
If a value for next_page_token
appears and the entries
field is empty,
it means that the search found no log entries so far but it did not have
time to search all the possible log entries. Retry the method with this
value for page_token
to continue the search. Alternatively, consider
speeding up the search by changing your filter to specify a single log name
or resource type, or to narrow the time range of the search.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListLogEntriesResponse other)
public ListLogEntriesResponse.Builder mergeFrom(ListLogEntriesResponse other)
Parameter
Returns
public ListLogEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListLogEntriesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListLogEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEntries(int index)
public ListLogEntriesResponse.Builder removeEntries(int index)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameter
Returns
setEntries(int index, LogEntry value)
public ListLogEntriesResponse.Builder setEntries(int index, LogEntry value)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameters
Returns
setEntries(int index, LogEntry.Builder builderForValue)
public ListLogEntriesResponse.Builder setEntries(int index, LogEntry.Builder builderForValue)
A list of log entries. If entries
is empty, nextPageToken
may still be
returned, indicating that more entries may exist. See nextPageToken
for
more information.
repeated .google.logging.v2.LogEntry entries = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListLogEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListLogEntriesResponse.Builder setNextPageToken(String value)
If there might be more results than those appearing in this response, then
nextPageToken
is included. To get the next set of results, call this
method again using the value of nextPageToken
as pageToken
.
If a value for next_page_token
appears and the entries
field is empty,
it means that the search found no log entries so far but it did not have
time to search all the possible log entries. Retry the method with this
value for page_token
to continue the search. Alternatively, consider
speeding up the search by changing your filter to specify a single log name
or resource type, or to narrow the time range of the search.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListLogEntriesResponse.Builder setNextPageTokenBytes(ByteString value)
If there might be more results than those appearing in this response, then
nextPageToken
is included. To get the next set of results, call this
method again using the value of nextPageToken
as pageToken
.
If a value for next_page_token
appears and the entries
field is empty,
it means that the search found no log entries so far but it did not have
time to search all the possible log entries. Retry the method with this
value for page_token
to continue the search. Alternatively, consider
speeding up the search by changing your filter to specify a single log name
or resource type, or to narrow the time range of the search.
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 ListLogEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListLogEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides