Send feedback
Class ListBucketsResponse.Builder (3.15.10)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.15.10 keyboard_arrow_down
public static final class ListBucketsResponse . Builder extends GeneratedMessageV3 . Builder<ListBucketsResponse . Builder > implements ListBucketsResponseOrBuilder
The response from ListBuckets.
Protobuf type google.logging.v2.ListBucketsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addAllBuckets(Iterable<? extends LogBucket> values)
public ListBucketsResponse . Builder addAllBuckets ( Iterable <? extends LogBucket > values )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
Parameter Name Description values
Iterable <? extends com.google.logging.v2.LogBucket >
addBuckets(LogBucket value)
public ListBucketsResponse . Builder addBuckets ( LogBucket value )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
addBuckets(LogBucket.Builder builderForValue)
public ListBucketsResponse . Builder addBuckets ( LogBucket . Builder builderForValue )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
addBuckets(int index, LogBucket value)
public ListBucketsResponse . Builder addBuckets ( int index , LogBucket value )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
addBuckets(int index, LogBucket.Builder builderForValue)
public ListBucketsResponse . Builder addBuckets ( int index , LogBucket . Builder builderForValue )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
addBucketsBuilder()
public LogBucket . Builder addBucketsBuilder ()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
addBucketsBuilder(int index)
public LogBucket . Builder addBucketsBuilder ( int index )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
Parameter Name Description index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBucketsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListBucketsResponse build ()
buildPartial()
public ListBucketsResponse buildPartial ()
clear()
public ListBucketsResponse . Builder clear ()
Overrides
clearBuckets()
public ListBucketsResponse . Builder clearBuckets ()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
clearField(Descriptors.FieldDescriptor field)
public ListBucketsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBucketsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ListBucketsResponse . Builder clone ()
Overrides
getBuckets(int index)
public LogBucket getBuckets ( int index )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
Parameter Name Description index
int
getBucketsBuilder(int index)
public LogBucket . Builder getBucketsBuilder ( int index )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
Parameter Name Description index
int
getBucketsBuilderList()
public List<LogBucket . Builder > getBucketsBuilderList ()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
getBucketsCount()
public int getBucketsCount ()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
Returns Type Description int
getBucketsList()
public List<LogBucket> getBucketsList ()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
getBucketsOrBuilder(int index)
public LogBucketOrBuilder getBucketsOrBuilder ( int index )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
Parameter Name Description index
int
getBucketsOrBuilderList()
public List <? extends LogBucketOrBuilder > getBucketsOrBuilderList ()
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
Returns Type Description List <? extends com.google.logging.v2.LogBucketOrBuilder >
getDefaultInstanceForType()
public ListBucketsResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getNextPageToken()
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;
Returns Type Description String
The nextPageToken.
getNextPageTokenBytes()
public 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;
Returns Type Description ByteString
The bytes for nextPageToken.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListBucketsResponse other)
public ListBucketsResponse . Builder mergeFrom ( ListBucketsResponse other )
public ListBucketsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListBucketsResponse . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBucketsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeBuckets(int index)
public ListBucketsResponse . Builder removeBuckets ( int index )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
Parameter Name Description index
int
setBuckets(int index, LogBucket value)
public ListBucketsResponse . Builder setBuckets ( int index , LogBucket value )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
setBuckets(int index, LogBucket.Builder builderForValue)
public ListBucketsResponse . Builder setBuckets ( int index , LogBucket . Builder builderForValue )
A list of buckets.
repeated .google.logging.v2.LogBucket buckets = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListBucketsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
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;
Parameter Name Description value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListBucketsResponse . Builder setNextPageTokenBytes ( 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;
Parameter Name Description value
ByteString
The bytes for nextPageToken to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBucketsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBucketsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]