Send feedback
Class Bucket.Logging.Builder (2.4.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.5 keyboard_arrow_down
public static final class Bucket . Logging . Builder extends GeneratedMessageV3 . Builder<Bucket . Logging . Builder > implements Bucket . LoggingOrBuilder
Logging-related properties of a bucket.
Protobuf type google.storage.v2.Bucket.Logging
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket . Logging . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Bucket . Logging build ()
Returns
buildPartial()
public Bucket . Logging buildPartial ()
Returns
clear()
public Bucket . Logging . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Bucket . Logging . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearLogBucket()
public Bucket . Logging . Builder clearLogBucket ()
The destination bucket where the current bucket's logs should be placed.
string log_bucket = 1;
Returns
clearLogObjectPrefix()
public Bucket . Logging . Builder clearLogObjectPrefix ()
A prefix for log object names.
string log_object_prefix = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket . Logging . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public Bucket . Logging . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Bucket . Logging getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getLogBucket()
public String getLogBucket ()
The destination bucket where the current bucket's logs should be placed.
string log_bucket = 1;
Returns
Type
Description
String
The logBucket.
getLogBucketBytes()
public ByteString getLogBucketBytes ()
The destination bucket where the current bucket's logs should be placed.
string log_bucket = 1;
Returns
Type
Description
ByteString
The bytes for logBucket.
getLogObjectPrefix()
public String getLogObjectPrefix ()
A prefix for log object names.
string log_object_prefix = 2;
Returns
Type
Description
String
The logObjectPrefix.
getLogObjectPrefixBytes()
public ByteString getLogObjectPrefixBytes ()
A prefix for log object names.
string log_object_prefix = 2;
Returns
Type
Description
ByteString
The bytes for logObjectPrefix.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
public Bucket . Logging . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Bucket . Logging . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeFrom(Bucket.Logging other)
public Bucket . Logging . Builder mergeFrom ( Bucket . Logging other )
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket . Logging . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket . Logging . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setLogBucket(String value)
public Bucket . Logging . Builder setLogBucket ( String value )
The destination bucket where the current bucket's logs should be placed.
string log_bucket = 1;
Parameter
Name
Description
value
String
The logBucket to set.
Returns
setLogBucketBytes(ByteString value)
public Bucket . Logging . Builder setLogBucketBytes ( ByteString value )
The destination bucket where the current bucket's logs should be placed.
string log_bucket = 1;
Parameter
Name
Description
value
ByteString
The bytes for logBucket to set.
Returns
setLogObjectPrefix(String value)
public Bucket . Logging . Builder setLogObjectPrefix ( String value )
A prefix for log object names.
string log_object_prefix = 2;
Parameter
Name
Description
value
String
The logObjectPrefix to set.
Returns
setLogObjectPrefixBytes(ByteString value)
public Bucket . Logging . Builder setLogObjectPrefixBytes ( ByteString value )
A prefix for log object names.
string log_object_prefix = 2;
Parameter
Name
Description
value
ByteString
The bytes for logObjectPrefix to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket . Logging . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket . Logging . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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-21 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-21 UTC."],[],[]]