Class DateTimeTypeOptions.Builder (0.40.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DateTimeTypeOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

build()

public DateTimeTypeOptions build()
Returns
Type Description
DateTimeTypeOptions

buildPartial()

public DateTimeTypeOptions buildPartial()
Returns
Type Description
DateTimeTypeOptions

clear()

public DateTimeTypeOptions.Builder clear()
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DateTimeTypeOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DateTimeTypeOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

clone()

public DateTimeTypeOptions.Builder clone()
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

getDefaultInstanceForType()

public DateTimeTypeOptions getDefaultInstanceForType()
Returns
Type Description
DateTimeTypeOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DateTimeTypeOptions other)

public DateTimeTypeOptions.Builder mergeFrom(DateTimeTypeOptions other)
Parameter
Name Description
other DateTimeTypeOptions
Returns
Type Description
DateTimeTypeOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DateTimeTypeOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DateTimeTypeOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DateTimeTypeOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DateTimeTypeOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

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

public DateTimeTypeOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DateTimeTypeOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DateTimeTypeOptions.Builder
Overrides