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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DateTimeTypeOptions.BuilderImplements
DateTimeTypeOptionsOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public DateTimeTypeOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DateTimeTypeOptions.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DateTimeTypeOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DateTimeTypeOptions.Builder |
clone()
public DateTimeTypeOptions.Builder clone()
Returns | |
---|---|
Type | Description |
DateTimeTypeOptions.Builder |
getDefaultInstanceForType()
public DateTimeTypeOptions getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DateTimeTypeOptions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DateTimeTypeOptions.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DateTimeTypeOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DateTimeTypeOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DateTimeTypeOptions.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final DateTimeTypeOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DateTimeTypeOptions.Builder |