Class ListLogEntriesResponse.Builder (3.19.0)

public static final class ListLogEntriesResponse.Builder extends GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder> implements ListLogEntriesResponseOrBuilder

Result returned from ListLogEntries.

Protobuf type google.logging.v2.ListLogEntriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Type Description
ListLogEntriesResponse.Builder

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
Returns
Type Description
ListLogEntriesResponse.Builder

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
Name Description
builderForValue LogEntry.Builder
Returns
Type Description
ListLogEntriesResponse.Builder

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
Name Description
index int
value LogEntry
Returns
Type Description
ListLogEntriesResponse.Builder

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
Name Description
index int
builderForValue LogEntry.Builder
Returns
Type Description
ListLogEntriesResponse.Builder

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
Type Description
LogEntry.Builder

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
Returns
Type Description
LogEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLogEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLogEntriesResponse.Builder
Overrides

build()

public ListLogEntriesResponse build()
Returns
Type Description
ListLogEntriesResponse

buildPartial()

public ListLogEntriesResponse buildPartial()
Returns
Type Description
ListLogEntriesResponse

clear()

public ListLogEntriesResponse.Builder clear()
Returns
Type Description
ListLogEntriesResponse.Builder
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
Type Description
ListLogEntriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListLogEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListLogEntriesResponse.Builder
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
Type Description
ListLogEntriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLogEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListLogEntriesResponse.Builder
Overrides

clone()

public ListLogEntriesResponse.Builder clone()
Returns
Type Description
ListLogEntriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListLogEntriesResponse getDefaultInstanceForType()
Returns
Type Description
ListLogEntriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
LogEntry

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
Returns
Type Description
LogEntry.Builder

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
Type Description
List<Builder>

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;

Returns
Type Description
List<LogEntry>

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
Returns
Type Description
LogEntryOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListLogEntriesResponse other)

public ListLogEntriesResponse.Builder mergeFrom(ListLogEntriesResponse other)
Parameter
Name Description
other ListLogEntriesResponse
Returns
Type Description
ListLogEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListLogEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListLogEntriesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListLogEntriesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListLogEntriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLogEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLogEntriesResponse.Builder
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
Returns
Type Description
ListLogEntriesResponse.Builder

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
Name Description
index int
value LogEntry
Returns
Type Description
ListLogEntriesResponse.Builder

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
Name Description
index int
builderForValue LogEntry.Builder
Returns
Type Description
ListLogEntriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListLogEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLogEntriesResponse.Builder
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
Type Description
ListLogEntriesResponse.Builder

This builder for chaining.

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
Type Description
ListLogEntriesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListLogEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListLogEntriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLogEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLogEntriesResponse.Builder
Overrides