public static final class TimestampValue.Builder extends GeneratedMessageV3.Builder<TimestampValue.Builder> implements TimestampValueOrBuilder
Timestamp value type.
Protobuf type google.cloud.contentwarehouse.v1.TimestampValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimestampValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TimestampValue build()
Returns
buildPartial()
public TimestampValue buildPartial()
Returns
clear()
public TimestampValue.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimestampValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimestampValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTextValue()
public TimestampValue.Builder clearTextValue()
The string must represent a valid instant in UTC and is parsed using
java.time.format.DateTimeFormatter.ISO_INSTANT.
e.g. "2013-09-29T18:46:19Z"
string text_value = 2;
Returns
clearTimestampValue()
public TimestampValue.Builder clearTimestampValue()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
Returns
clearValue()
public TimestampValue.Builder clearValue()
Returns
clone()
public TimestampValue.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TimestampValue getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTextValue()
public String getTextValue()
The string must represent a valid instant in UTC and is parsed using
java.time.format.DateTimeFormatter.ISO_INSTANT.
e.g. "2013-09-29T18:46:19Z"
string text_value = 2;
Returns
Type | Description |
String | The textValue.
|
getTextValueBytes()
public ByteString getTextValueBytes()
The string must represent a valid instant in UTC and is parsed using
java.time.format.DateTimeFormatter.ISO_INSTANT.
e.g. "2013-09-29T18:46:19Z"
string text_value = 2;
Returns
getTimestampValue()
public Timestamp getTimestampValue()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
Returns
getTimestampValueBuilder()
public Timestamp.Builder getTimestampValueBuilder()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
Returns
getTimestampValueOrBuilder()
public TimestampOrBuilder getTimestampValueOrBuilder()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
Returns
getValueCase()
public TimestampValue.ValueCase getValueCase()
Returns
hasTextValue()
public boolean hasTextValue()
The string must represent a valid instant in UTC and is parsed using
java.time.format.DateTimeFormatter.ISO_INSTANT.
e.g. "2013-09-29T18:46:19Z"
string text_value = 2;
Returns
Type | Description |
boolean | Whether the textValue field is set.
|
hasTimestampValue()
public boolean hasTimestampValue()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
Returns
Type | Description |
boolean | Whether the timestampValue field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TimestampValue other)
public TimestampValue.Builder mergeFrom(TimestampValue other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimestampValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimestampValue.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeTimestampValue(Timestamp value)
public TimestampValue.Builder mergeTimestampValue(Timestamp value)
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimestampValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TimestampValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimestampValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTextValue(String value)
public TimestampValue.Builder setTextValue(String value)
The string must represent a valid instant in UTC and is parsed using
java.time.format.DateTimeFormatter.ISO_INSTANT.
e.g. "2013-09-29T18:46:19Z"
string text_value = 2;
Parameter
Name | Description |
value | String
The textValue to set.
|
Returns
setTextValueBytes(ByteString value)
public TimestampValue.Builder setTextValueBytes(ByteString value)
The string must represent a valid instant in UTC and is parsed using
java.time.format.DateTimeFormatter.ISO_INSTANT.
e.g. "2013-09-29T18:46:19Z"
string text_value = 2;
Parameter
Name | Description |
value | ByteString
The bytes for textValue to set.
|
Returns
setTimestampValue(Timestamp value)
public TimestampValue.Builder setTimestampValue(Timestamp value)
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
Parameter
Returns
setTimestampValue(Timestamp.Builder builderForValue)
public TimestampValue.Builder setTimestampValue(Timestamp.Builder builderForValue)
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TimestampValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides