public static final class ListBucketsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder> implements ListBucketsResponseOrBuilder
The response from ListBuckets.Protobuf type
google.logging.v2.ListBucketsResponse
Modifier and Type | Method and Description |
---|---|
ListBucketsResponse.Builder |
addAllBuckets(Iterable<? extends LogBucket> values)
A list of buckets.
|
ListBucketsResponse.Builder |
addBuckets(int index,
LogBucket.Builder builderForValue)
A list of buckets.
|
ListBucketsResponse.Builder |
addBuckets(int index,
LogBucket value)
A list of buckets.
|
ListBucketsResponse.Builder |
addBuckets(LogBucket.Builder builderForValue)
A list of buckets.
|
ListBucketsResponse.Builder |
addBuckets(LogBucket value)
A list of buckets.
|
LogBucket.Builder |
addBucketsBuilder()
A list of buckets.
|
LogBucket.Builder |
addBucketsBuilder(int index)
A list of buckets.
|
ListBucketsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBucketsResponse |
build() |
ListBucketsResponse |
buildPartial() |
ListBucketsResponse.Builder |
clear() |
ListBucketsResponse.Builder |
clearBuckets()
A list of buckets.
|
ListBucketsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListBucketsResponse.Builder |
clearNextPageToken()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListBucketsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListBucketsResponse.Builder |
clone() |
LogBucket |
getBuckets(int index)
A list of buckets.
|
LogBucket.Builder |
getBucketsBuilder(int index)
A list of buckets.
|
List<LogBucket.Builder> |
getBucketsBuilderList()
A list of buckets.
|
int |
getBucketsCount()
A list of buckets.
|
List<LogBucket> |
getBucketsList()
A list of buckets.
|
LogBucketOrBuilder |
getBucketsOrBuilder(int index)
A list of buckets.
|
List<? extends LogBucketOrBuilder> |
getBucketsOrBuilderList()
A list of buckets.
|
ListBucketsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListBucketsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListBucketsResponse.Builder |
mergeFrom(ListBucketsResponse other) |
ListBucketsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListBucketsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListBucketsResponse.Builder |
removeBuckets(int index)
A list of buckets.
|
ListBucketsResponse.Builder |
setBuckets(int index,
LogBucket.Builder builderForValue)
A list of buckets.
|
ListBucketsResponse.Builder |
setBuckets(int index,
LogBucket value)
A list of buckets.
|
ListBucketsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBucketsResponse.Builder |
setNextPageToken(String value)
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListBucketsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListBucketsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListBucketsResponse.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<ListBucketsResponse.Builder>
public ListBucketsResponse.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<ListBucketsResponse.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<ListBucketsResponse.Builder>
public ListBucketsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListBucketsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListBucketsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListBucketsResponse.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<ListBucketsResponse.Builder>
public ListBucketsResponse.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<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.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<ListBucketsResponse.Builder>
public ListBucketsResponse.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<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder mergeFrom(ListBucketsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.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<ListBucketsResponse.Builder>
IOException
public List<LogBucket> getBucketsList()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
getBucketsList
in interface ListBucketsResponseOrBuilder
public int getBucketsCount()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
getBucketsCount
in interface ListBucketsResponseOrBuilder
public LogBucket getBuckets(int index)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
getBuckets
in interface ListBucketsResponseOrBuilder
public ListBucketsResponse.Builder setBuckets(int index, LogBucket value)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public ListBucketsResponse.Builder setBuckets(int index, LogBucket.Builder builderForValue)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public ListBucketsResponse.Builder addBuckets(LogBucket value)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public ListBucketsResponse.Builder addBuckets(int index, LogBucket value)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public ListBucketsResponse.Builder addBuckets(LogBucket.Builder builderForValue)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public ListBucketsResponse.Builder addBuckets(int index, LogBucket.Builder builderForValue)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public ListBucketsResponse.Builder addAllBuckets(Iterable<? extends LogBucket> values)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public ListBucketsResponse.Builder clearBuckets()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public ListBucketsResponse.Builder removeBuckets(int index)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public LogBucket.Builder getBucketsBuilder(int index)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public LogBucketOrBuilder getBucketsOrBuilder(int index)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
getBucketsOrBuilder
in interface ListBucketsResponseOrBuilder
public List<? extends LogBucketOrBuilder> getBucketsOrBuilderList()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
getBucketsOrBuilderList
in interface ListBucketsResponseOrBuilder
public LogBucket.Builder addBucketsBuilder()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public LogBucket.Builder addBucketsBuilder(int index)
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public List<LogBucket.Builder> getBucketsBuilderList()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
public String getNextPageToken()
If there might be more results than appear in this response, then `nextPageToken` is included. To get the next set of results, call the same method again using the value of `nextPageToken` as `pageToken`.
string next_page_token = 2;
getNextPageToken
in interface ListBucketsResponseOrBuilder
public com.google.protobuf.ByteString getNextPageTokenBytes()
If there might be more results than appear in this response, then `nextPageToken` is included. To get the next set of results, call the same method again using the value of `nextPageToken` as `pageToken`.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListBucketsResponseOrBuilder
public ListBucketsResponse.Builder setNextPageToken(String value)
If there might be more results than appear in this response, then `nextPageToken` is included. To get the next set of results, call the same method again using the value of `nextPageToken` as `pageToken`.
string next_page_token = 2;
value
- The nextPageToken to set.public ListBucketsResponse.Builder clearNextPageToken()
If there might be more results than appear in this response, then `nextPageToken` is included. To get the next set of results, call the same method again using the value of `nextPageToken` as `pageToken`.
string next_page_token = 2;
public ListBucketsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
If there might be more results than appear in this response, then `nextPageToken` is included. To get the next set of results, call the same method again using the value of `nextPageToken` as `pageToken`.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListBucketsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public final ListBucketsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.