Class ObjectFullContext (2.75.0)

public final class ObjectFullContext extends GeneratedMessage implements ObjectFullContextOrBuilder

A full representation of an object context.

Protobuf type google.storage.control.v2.ObjectFullContext

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

EXTENDED_DATA_FIELD_NUMBER

public static final int EXTENDED_DATA_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ObjectFullContext getDefaultInstance()
Returns
Type Description
ObjectFullContext

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ObjectFullContext.Builder newBuilder()
Returns
Type Description
ObjectFullContext.Builder

newBuilder(ObjectFullContext prototype)

public static ObjectFullContext.Builder newBuilder(ObjectFullContext prototype)
Parameter
Name Description
prototype ObjectFullContext
Returns
Type Description
ObjectFullContext.Builder

parseDelimitedFrom(InputStream input)

public static ObjectFullContext parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectFullContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ObjectFullContext parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ObjectFullContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ObjectFullContext parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ObjectFullContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ObjectFullContext parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectFullContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ObjectFullContext parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectFullContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ObjectFullContext parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ObjectFullContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectFullContext
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ObjectFullContext> parser()
Returns
Type Description
Parser<ObjectFullContext>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

The time at which the object context was created.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time at which the object context was created.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ObjectFullContext getDefaultInstanceForType()
Returns
Type Description
ObjectFullContext

getExtendedData()

public Any getExtendedData()

The extended data of the object context.

.google.protobuf.Any extended_data = 6;

Returns
Type Description
Any

The extendedData.

getExtendedDataOrBuilder()

public AnyOrBuilder getExtendedDataOrBuilder()

The extended data of the object context.

.google.protobuf.Any extended_data = 6;

Returns
Type Description
AnyOrBuilder

getKey()

public String getKey()

The key of the object context, which is unique among contexts of an object.

string key = 2;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

The key of the object context, which is unique among contexts of an object.

string key = 2;

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

public Parser<ObjectFullContext> getParserForType()
Returns
Type Description
Parser<ObjectFullContext>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public ObjectFullContext.Type getType()

The type of the object context.

.google.storage.control.v2.ObjectFullContext.Type type = 1;

Returns
Type Description
ObjectFullContext.Type

The type.

getTypeValue()

public int getTypeValue()

The type of the object context.

.google.storage.control.v2.ObjectFullContext.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

The time at which the object context was updated.

.google.protobuf.Timestamp update_time = 5;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time at which the object context was updated.

.google.protobuf.Timestamp update_time = 5;

Returns
Type Description
TimestampOrBuilder

getValue()

public String getValue()

The value of the object context.

string value = 3;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

The value of the object context.

string value = 3;

Returns
Type Description
ByteString

The bytes for value.

hasCreateTime()

public boolean hasCreateTime()

The time at which the object context was created.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
boolean

Whether the createTime field is set.

hasExtendedData()

public boolean hasExtendedData()

The extended data of the object context.

.google.protobuf.Any extended_data = 6;

Returns
Type Description
boolean

Whether the extendedData field is set.

hasUpdateTime()

public boolean hasUpdateTime()

The time at which the object context was updated.

.google.protobuf.Timestamp update_time = 5;

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ObjectFullContext.Builder newBuilderForType()
Returns
Type Description
ObjectFullContext.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ObjectFullContext.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ObjectFullContext.Builder
Overrides

toBuilder()

public ObjectFullContext.Builder toBuilder()
Returns
Type Description
ObjectFullContext.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException