public static final class ObjectCustomContextPayload.Builder extends GeneratedMessageV3.Builder<ObjectCustomContextPayload.Builder> implements ObjectCustomContextPayloadOrBuilder
The payload of a single user-defined object context.
Protobuf type google.storage.v2.ObjectCustomContextPayload
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectCustomContextPayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ObjectCustomContextPayload build()
buildPartial()
public ObjectCustomContextPayload buildPartial()
clear()
public ObjectCustomContextPayload.Builder clear()
Overrides
clearCreateTime()
public ObjectCustomContextPayload.Builder clearCreateTime()
Output only. The time at which the object context was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ObjectCustomContextPayload.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectCustomContextPayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateTime()
public ObjectCustomContextPayload.Builder clearUpdateTime()
Output only. The time at which the object context was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearValue()
public ObjectCustomContextPayload.Builder clearValue()
Required. The value of the object context.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public ObjectCustomContextPayload.Builder clone()
Overrides
getCreateTime()
public Timestamp getCreateTime()
Output only. The time at which the object context was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which the object context was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the object context was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public ObjectCustomContextPayload getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time at which the object context was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time at which the object context was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which the object context was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getValue()
Required. The value of the object context.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The value.
|
getValueBytes()
public ByteString getValueBytes()
Required. The value of the object context.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for value.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. The time at which the object context was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time at which the object context was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCreateTime(Timestamp value)
public ObjectCustomContextPayload.Builder mergeCreateTime(Timestamp value)
Output only. The time at which the object context was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ObjectCustomContextPayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ObjectCustomContextPayload.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(ObjectCustomContextPayload other)
public ObjectCustomContextPayload.Builder mergeFrom(ObjectCustomContextPayload other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectCustomContextPayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateTime(Timestamp value)
public ObjectCustomContextPayload.Builder mergeUpdateTime(Timestamp value)
Output only. The time at which the object context was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setCreateTime(Timestamp value)
public ObjectCustomContextPayload.Builder setCreateTime(Timestamp value)
Output only. The time at which the object context was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setCreateTime(Timestamp.Builder builderForValue)
public ObjectCustomContextPayload.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time at which the object context was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectCustomContextPayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectCustomContextPayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectCustomContextPayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateTime(Timestamp value)
public ObjectCustomContextPayload.Builder setUpdateTime(Timestamp value)
Output only. The time at which the object context was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUpdateTime(Timestamp.Builder builderForValue)
public ObjectCustomContextPayload.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time at which the object context was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setValue(String value)
public ObjectCustomContextPayload.Builder setValue(String value)
Required. The value of the object context.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The value to set.
|
setValueBytes(ByteString value)
public ObjectCustomContextPayload.Builder setValueBytes(ByteString value)
Required. The value of the object context.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for value to set.
|