Class DateTimeTypeOptions.Builder (0.5.0)

public static final class DateTimeTypeOptions.Builder extends GeneratedMessageV3.Builder<DateTimeTypeOptions.Builder> implements DateTimeTypeOptionsOrBuilder

Configurations for a date time property.

Protobuf type google.cloud.contentwarehouse.v1.DateTimeTypeOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DateTimeTypeOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

build()

public DateTimeTypeOptions build()
Returns
TypeDescription
DateTimeTypeOptions

buildPartial()

public DateTimeTypeOptions buildPartial()
Returns
TypeDescription
DateTimeTypeOptions

clear()

public DateTimeTypeOptions.Builder clear()
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DateTimeTypeOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DateTimeTypeOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

clone()

public DateTimeTypeOptions.Builder clone()
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

getDefaultInstanceForType()

public DateTimeTypeOptions getDefaultInstanceForType()
Returns
TypeDescription
DateTimeTypeOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DateTimeTypeOptions other)

public DateTimeTypeOptions.Builder mergeFrom(DateTimeTypeOptions other)
Parameter
NameDescription
otherDateTimeTypeOptions
Returns
TypeDescription
DateTimeTypeOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DateTimeTypeOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DateTimeTypeOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DateTimeTypeOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DateTimeTypeOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DateTimeTypeOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DateTimeTypeOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DateTimeTypeOptions.Builder
Overrides