Class Bucket.Logging (2.22.3)

public static final class Bucket.Logging extends GeneratedMessageV3 implements Bucket.LoggingOrBuilder

Logging-related properties of a bucket.

Protobuf type google.storage.v2.Bucket.Logging

Static Fields

LOG_BUCKET_FIELD_NUMBER

public static final int LOG_BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

LOG_OBJECT_PREFIX_FIELD_NUMBER

public static final int LOG_OBJECT_PREFIX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Bucket.Logging getDefaultInstance()
Returns
TypeDescription
Bucket.Logging

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Bucket.Logging.Builder newBuilder()
Returns
TypeDescription
Bucket.Logging.Builder

newBuilder(Bucket.Logging prototype)

public static Bucket.Logging.Builder newBuilder(Bucket.Logging prototype)
Parameter
NameDescription
prototypeBucket.Logging
Returns
TypeDescription
Bucket.Logging.Builder

parseDelimitedFrom(InputStream input)

public static Bucket.Logging parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.Logging parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Bucket.Logging parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Bucket.Logging parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Bucket.Logging parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Bucket.Logging parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Bucket.Logging parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.Logging parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Bucket.Logging parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.Logging parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Bucket.Logging parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Bucket.Logging parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.Logging
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Bucket.Logging> parser()
Returns
TypeDescription
Parser<Logging>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Bucket.Logging getDefaultInstanceForType()
Returns
TypeDescription
Bucket.Logging

getLogBucket()

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;

Returns
TypeDescription
String

The logBucket.

getLogBucketBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for logBucket.

getLogObjectPrefix()

public String getLogObjectPrefix()

A prefix for log object names.

string log_object_prefix = 2;

Returns
TypeDescription
String

The logObjectPrefix.

getLogObjectPrefixBytes()

public ByteString getLogObjectPrefixBytes()

A prefix for log object names.

string log_object_prefix = 2;

Returns
TypeDescription
ByteString

The bytes for logObjectPrefix.

getParserForType()

public Parser<Bucket.Logging> getParserForType()
Returns
TypeDescription
Parser<Logging>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Bucket.Logging.Builder newBuilderForType()
Returns
TypeDescription
Bucket.Logging.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Bucket.Logging.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Bucket.Logging.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Bucket.Logging.Builder toBuilder()
Returns
TypeDescription
Bucket.Logging.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException