Class TimestampValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
- com.google.cloud.contentwarehouse.v1.TimestampValue.Builder
-
- All Implemented Interfaces:
TimestampValueOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TimestampValue
public static final class TimestampValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder> implements TimestampValueOrBuilder
Timestamp value type.
Protobuf typegoogle.cloud.contentwarehouse.v1.TimestampValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampValue.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TimestampValuebuild()TimestampValuebuildPartial()TimestampValue.Builderclear()TimestampValue.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TimestampValue.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TimestampValue.BuilderclearTextValue()The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT.TimestampValue.BuilderclearTimestampValue()Timestamp valueTimestampValue.BuilderclearValue()TimestampValue.Builderclone()TimestampValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetTextValue()The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT.com.google.protobuf.ByteStringgetTextValueBytes()The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT.com.google.protobuf.TimestampgetTimestampValue()Timestamp valuecom.google.protobuf.Timestamp.BuildergetTimestampValueBuilder()Timestamp valuecom.google.protobuf.TimestampOrBuildergetTimestampValueOrBuilder()Timestamp valueTimestampValue.ValueCasegetValueCase()booleanhasTextValue()The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT.booleanhasTimestampValue()Timestamp valueprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TimestampValue.BuildermergeFrom(TimestampValue other)TimestampValue.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TimestampValue.BuildermergeFrom(com.google.protobuf.Message other)TimestampValue.BuildermergeTimestampValue(com.google.protobuf.Timestamp value)Timestamp valueTimestampValue.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TimestampValue.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TimestampValue.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TimestampValue.BuildersetTextValue(String value)The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT.TimestampValue.BuildersetTextValueBytes(com.google.protobuf.ByteString value)The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT.TimestampValue.BuildersetTimestampValue(com.google.protobuf.Timestamp value)Timestamp valueTimestampValue.BuildersetTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue)Timestamp valueTimestampValue.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
clear
public TimestampValue.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
getDefaultInstanceForType
public TimestampValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TimestampValue build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TimestampValue buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TimestampValue.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
setField
public TimestampValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
clearField
public TimestampValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
clearOneof
public TimestampValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
setRepeatedField
public TimestampValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
addRepeatedField
public TimestampValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
mergeFrom
public TimestampValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimestampValue.Builder>
-
mergeFrom
public TimestampValue.Builder mergeFrom(TimestampValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
mergeFrom
public TimestampValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimestampValue.Builder>- Throws:
IOException
-
getValueCase
public TimestampValue.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceTimestampValueOrBuilder
-
clearValue
public TimestampValue.Builder clearValue()
-
hasTimestampValue
public boolean hasTimestampValue()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;- Specified by:
hasTimestampValuein interfaceTimestampValueOrBuilder- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public com.google.protobuf.Timestamp getTimestampValue()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;- Specified by:
getTimestampValuein interfaceTimestampValueOrBuilder- Returns:
- The timestampValue.
-
setTimestampValue
public TimestampValue.Builder setTimestampValue(com.google.protobuf.Timestamp value)
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
-
setTimestampValue
public TimestampValue.Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
-
mergeTimestampValue
public TimestampValue.Builder mergeTimestampValue(com.google.protobuf.Timestamp value)
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
-
clearTimestampValue
public TimestampValue.Builder clearTimestampValue()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
-
getTimestampValueBuilder
public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;
-
getTimestampValueOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
Timestamp value
.google.protobuf.Timestamp timestamp_value = 1;- Specified by:
getTimestampValueOrBuilderin interfaceTimestampValueOrBuilder
-
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;- Specified by:
hasTextValuein interfaceTimestampValueOrBuilder- Returns:
- Whether the textValue field is set.
-
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;- Specified by:
getTextValuein interfaceTimestampValueOrBuilder- Returns:
- The textValue.
-
getTextValueBytes
public com.google.protobuf.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;- Specified by:
getTextValueBytesin interfaceTimestampValueOrBuilder- Returns:
- The bytes for textValue.
-
setTextValue
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;- Parameters:
value- The textValue to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setTextValueBytes
public TimestampValue.Builder setTextValueBytes(com.google.protobuf.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;- Parameters:
value- The bytes for textValue to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TimestampValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
mergeUnknownFields
public final TimestampValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimestampValue.Builder>
-
-