public static final class ListLogsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListLogsResponse.Builder> implements ListLogsResponseOrBuilder
Result returned from ListLogs.Protobuf type
google.logging.v2.ListLogsResponse
Modifier and Type | Method and Description |
---|---|
ListLogsResponse.Builder |
addAllLogNames(Iterable<String> values)
A list of log names.
|
ListLogsResponse.Builder |
addLogNames(String value)
A list of log names.
|
ListLogsResponse.Builder |
addLogNamesBytes(com.google.protobuf.ByteString value)
A list of log names.
|
ListLogsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListLogsResponse |
build() |
ListLogsResponse |
buildPartial() |
ListLogsResponse.Builder |
clear() |
ListLogsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListLogsResponse.Builder |
clearLogNames()
A list of log names.
|
ListLogsResponse.Builder |
clearNextPageToken()
If there might be more results than those appearing in this response, then
`nextPageToken` is included.
|
ListLogsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListLogsResponse.Builder |
clone() |
ListLogsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLogNames(int index)
A list of log names.
|
com.google.protobuf.ByteString |
getLogNamesBytes(int index)
A list of log names.
|
int |
getLogNamesCount()
A list of log names.
|
com.google.protobuf.ProtocolStringList |
getLogNamesList()
A list of log names.
|
String |
getNextPageToken()
If there might be more results than those appearing in this response, then
`nextPageToken` is included.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If there might be more results than those appearing in this response, then
`nextPageToken` is included.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListLogsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListLogsResponse.Builder |
mergeFrom(ListLogsResponse other) |
ListLogsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListLogsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListLogsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListLogsResponse.Builder |
setLogNames(int index,
String value)
A list of log names.
|
ListLogsResponse.Builder |
setNextPageToken(String value)
If there might be more results than those appearing in this response, then
`nextPageToken` is included.
|
ListLogsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If there might be more results than those appearing in this response, then
`nextPageToken` is included.
|
ListLogsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListLogsResponse.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<ListLogsResponse.Builder>
public ListLogsResponse.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<ListLogsResponse.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<ListLogsResponse.Builder>
public ListLogsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListLogsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListLogsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListLogsResponse.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<ListLogsResponse.Builder>
public ListLogsResponse.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<ListLogsResponse.Builder>
public ListLogsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsResponse.Builder>
public ListLogsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsResponse.Builder>
public ListLogsResponse.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<ListLogsResponse.Builder>
public ListLogsResponse.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<ListLogsResponse.Builder>
public ListLogsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListLogsResponse.Builder>
public ListLogsResponse.Builder mergeFrom(ListLogsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsResponse.Builder>
public ListLogsResponse.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<ListLogsResponse.Builder>
IOException
public com.google.protobuf.ProtocolStringList getLogNamesList()
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
getLogNamesList
in interface ListLogsResponseOrBuilder
public int getLogNamesCount()
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
getLogNamesCount
in interface ListLogsResponseOrBuilder
public String getLogNames(int index)
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
getLogNames
in interface ListLogsResponseOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getLogNamesBytes(int index)
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
getLogNamesBytes
in interface ListLogsResponseOrBuilder
index
- The index of the value to return.public ListLogsResponse.Builder setLogNames(int index, String value)
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
index
- The index to set the value at.value
- The logNames to set.public ListLogsResponse.Builder addLogNames(String value)
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
value
- The logNames to add.public ListLogsResponse.Builder addAllLogNames(Iterable<String> values)
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
values
- The logNames to add.public ListLogsResponse.Builder clearLogNames()
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
public ListLogsResponse.Builder addLogNamesBytes(com.google.protobuf.ByteString value)
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
value
- The bytes of the logNames to add.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`.
string next_page_token = 2;
getNextPageToken
in interface ListLogsResponseOrBuilder
public com.google.protobuf.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`.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListLogsResponseOrBuilder
public ListLogsResponse.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`.
string next_page_token = 2;
value
- The nextPageToken to set.public ListLogsResponse.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`.
string next_page_token = 2;
public ListLogsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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`.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListLogsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsResponse.Builder>
public final ListLogsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.