Class ListLogEntriesResponse.Builder (3.16.2)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.logging.v2.LogEntry>
Returns
TypeDescription
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
NameDescription
valueLogEntry
Returns
TypeDescription
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
NameDescription
builderForValueLogEntry.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLogEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogEntry.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LogEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLogEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListLogEntriesResponse.Builder
Overrides

build()

public ListLogEntriesResponse build()
Returns
TypeDescription
ListLogEntriesResponse

buildPartial()

public ListLogEntriesResponse buildPartial()
Returns
TypeDescription
ListLogEntriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListLogEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListLogEntriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLogEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListLogEntriesResponse.Builder
Overrides

clone()

public ListLogEntriesResponse.Builder clone()
Returns
TypeDescription
ListLogEntriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListLogEntriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLogEntriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLogEntriesResponse other)

public ListLogEntriesResponse.Builder mergeFrom(ListLogEntriesResponse other)
Parameter
NameDescription
otherListLogEntriesResponse
Returns
TypeDescription
ListLogEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListLogEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLogEntriesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListLogEntriesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListLogEntriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLogEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueLogEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogEntry.Builder
Returns
TypeDescription
ListLogEntriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListLogEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListLogEntriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLogEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListLogEntriesResponse.Builder
Overrides