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.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
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>
|
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 |
Name |
Description |
value |
LogEntry
|
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;
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;
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;
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;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListLogEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListLogEntriesResponse build()
buildPartial()
public ListLogEntriesResponse buildPartial()
clear()
public ListLogEntriesResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ListLogEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListLogEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListLogEntriesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListLogEntriesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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;
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 |
Type |
Description |
int |
|
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;
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 |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListLogEntriesResponse other)
public ListLogEntriesResponse.Builder mergeFrom(ListLogEntriesResponse other)
public ListLogEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListLogEntriesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListLogEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListLogEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListLogEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListLogEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides