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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Bucket.Logging.BuilderImplements
Bucket.LoggingOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Logging.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Bucket.Logging.Builder |
build()
public Bucket.Logging build()
Type | Description |
Bucket.Logging |
buildPartial()
public Bucket.Logging buildPartial()
Type | Description |
Bucket.Logging |
clear()
public Bucket.Logging.Builder clear()
Type | Description |
Bucket.Logging.Builder |
clearField(Descriptors.FieldDescriptor field)
public Bucket.Logging.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Bucket.Logging.Builder |
clearLogBucket()
public Bucket.Logging.Builder clearLogBucket()
The destination bucket where the current bucket's logs should be placed.
string log_bucket = 1;
Type | Description |
Bucket.Logging.Builder | This builder for chaining. |
clearLogObjectPrefix()
public Bucket.Logging.Builder clearLogObjectPrefix()
A prefix for log object names.
string log_object_prefix = 2;
Type | Description |
Bucket.Logging.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.Logging.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Bucket.Logging.Builder |
clone()
public Bucket.Logging.Builder clone()
Type | Description |
Bucket.Logging.Builder |
getDefaultInstanceForType()
public Bucket.Logging getDefaultInstanceForType()
Type | Description |
Bucket.Logging |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLogBucket()
public String getLogBucket()
The destination bucket where the current bucket's logs should be placed.
string log_bucket = 1;
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;
Type | Description |
ByteString | The bytes for logBucket. |
getLogObjectPrefix()
public String getLogObjectPrefix()
A prefix for log object names.
string log_object_prefix = 2;
Type | Description |
String | The logObjectPrefix. |
getLogObjectPrefixBytes()
public ByteString getLogObjectPrefixBytes()
A prefix for log object names.
string log_object_prefix = 2;
Type | Description |
ByteString | The bytes for logObjectPrefix. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Bucket.Logging.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Logging.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Bucket.Logging.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Bucket.Logging.Builder |
mergeFrom(Bucket.Logging other)
public Bucket.Logging.Builder mergeFrom(Bucket.Logging other)
Name | Description |
other | Bucket.Logging |
Type | Description |
Bucket.Logging.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Logging.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Bucket.Logging.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Logging.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Bucket.Logging.Builder |
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;
Name | Description |
value | String The logBucket to set. |
Type | Description |
Bucket.Logging.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString The bytes for logBucket to set. |
Type | Description |
Bucket.Logging.Builder | This builder for chaining. |
setLogObjectPrefix(String value)
public Bucket.Logging.Builder setLogObjectPrefix(String value)
A prefix for log object names.
string log_object_prefix = 2;
Name | Description |
value | String The logObjectPrefix to set. |
Type | Description |
Bucket.Logging.Builder | This builder for chaining. |
setLogObjectPrefixBytes(ByteString value)
public Bucket.Logging.Builder setLogObjectPrefixBytes(ByteString value)
A prefix for log object names.
string log_object_prefix = 2;
Name | Description |
value | ByteString The bytes for logObjectPrefix to set. |
Type | Description |
Bucket.Logging.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.Logging.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Bucket.Logging.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Logging.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Bucket.Logging.Builder |