public static final class Bucket.Logging.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Logging.Builder> implements Bucket.LoggingOrBuilder
Logging-related properties of a bucket.Protobuf type
google.storage.v2.Bucket.Logging
Modifier and Type | Method and Description |
---|---|
Bucket.Logging.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Bucket.Logging |
build() |
Bucket.Logging |
buildPartial() |
Bucket.Logging.Builder |
clear() |
Bucket.Logging.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Bucket.Logging.Builder |
clearLogBucket()
The destination bucket where the current bucket's logs should be placed,
using path format (like `projects/123456/buckets/foo`).
|
Bucket.Logging.Builder |
clearLogObjectPrefix()
A prefix for log object names.
|
Bucket.Logging.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Bucket.Logging.Builder |
clone() |
Bucket.Logging |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLogBucket()
The destination bucket where the current bucket's logs should be placed,
using path format (like `projects/123456/buckets/foo`).
|
com.google.protobuf.ByteString |
getLogBucketBytes()
The destination bucket where the current bucket's logs should be placed,
using path format (like `projects/123456/buckets/foo`).
|
String |
getLogObjectPrefix()
A prefix for log object names.
|
com.google.protobuf.ByteString |
getLogObjectPrefixBytes()
A prefix for log object names.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Bucket.Logging.Builder |
mergeFrom(Bucket.Logging other) |
Bucket.Logging.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Bucket.Logging.Builder |
mergeFrom(com.google.protobuf.Message other) |
Bucket.Logging.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Bucket.Logging.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Bucket.Logging.Builder |
setLogBucket(String value)
The destination bucket where the current bucket's logs should be placed,
using path format (like `projects/123456/buckets/foo`).
|
Bucket.Logging.Builder |
setLogBucketBytes(com.google.protobuf.ByteString value)
The destination bucket where the current bucket's logs should be placed,
using path format (like `projects/123456/buckets/foo`).
|
Bucket.Logging.Builder |
setLogObjectPrefix(String value)
A prefix for log object names.
|
Bucket.Logging.Builder |
setLogObjectPrefixBytes(com.google.protobuf.ByteString value)
A prefix for log object names.
|
Bucket.Logging.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Bucket.Logging.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<Bucket.Logging.Builder>
public Bucket.Logging.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<Bucket.Logging.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<Bucket.Logging.Builder>
public Bucket.Logging getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Bucket.Logging build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Bucket.Logging buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Bucket.Logging.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<Bucket.Logging.Builder>
public Bucket.Logging.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<Bucket.Logging.Builder>
public Bucket.Logging.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Logging.Builder>
public Bucket.Logging.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Logging.Builder>
public Bucket.Logging.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<Bucket.Logging.Builder>
public Bucket.Logging.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<Bucket.Logging.Builder>
public Bucket.Logging.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Bucket.Logging.Builder>
public Bucket.Logging.Builder mergeFrom(Bucket.Logging other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Logging.Builder>
public Bucket.Logging.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<Bucket.Logging.Builder>
IOException
public String getLogBucket()
The destination bucket where the current bucket's logs should be placed, using path format (like `projects/123456/buckets/foo`).
string log_bucket = 1;
getLogBucket
in interface Bucket.LoggingOrBuilder
public com.google.protobuf.ByteString getLogBucketBytes()
The destination bucket where the current bucket's logs should be placed, using path format (like `projects/123456/buckets/foo`).
string log_bucket = 1;
getLogBucketBytes
in interface Bucket.LoggingOrBuilder
public Bucket.Logging.Builder setLogBucket(String value)
The destination bucket where the current bucket's logs should be placed, using path format (like `projects/123456/buckets/foo`).
string log_bucket = 1;
value
- The logBucket to set.public Bucket.Logging.Builder clearLogBucket()
The destination bucket where the current bucket's logs should be placed, using path format (like `projects/123456/buckets/foo`).
string log_bucket = 1;
public Bucket.Logging.Builder setLogBucketBytes(com.google.protobuf.ByteString value)
The destination bucket where the current bucket's logs should be placed, using path format (like `projects/123456/buckets/foo`).
string log_bucket = 1;
value
- The bytes for logBucket to set.public String getLogObjectPrefix()
A prefix for log object names.
string log_object_prefix = 2;
getLogObjectPrefix
in interface Bucket.LoggingOrBuilder
public com.google.protobuf.ByteString getLogObjectPrefixBytes()
A prefix for log object names.
string log_object_prefix = 2;
getLogObjectPrefixBytes
in interface Bucket.LoggingOrBuilder
public Bucket.Logging.Builder setLogObjectPrefix(String value)
A prefix for log object names.
string log_object_prefix = 2;
value
- The logObjectPrefix to set.public Bucket.Logging.Builder clearLogObjectPrefix()
A prefix for log object names.
string log_object_prefix = 2;
public Bucket.Logging.Builder setLogObjectPrefixBytes(com.google.protobuf.ByteString value)
A prefix for log object names.
string log_object_prefix = 2;
value
- The bytes for logObjectPrefix to set.public final Bucket.Logging.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Logging.Builder>
public final Bucket.Logging.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Logging.Builder>
Copyright © 2023 Google LLC. All rights reserved.