public static final class TimeOff.Builder extends GeneratedMessage.Builder<TimeOff.Builder> implements TimeOffOrBuilderSystem record for leave/time-off from a Human Capital Management (HCM) system.
Protobuf type google.backstory.TimeOff
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimeOff.BuilderImplements
TimeOffOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TimeOff build()| Returns | |
|---|---|
| Type | Description |
TimeOff |
|
buildPartial()
public TimeOff buildPartial()| Returns | |
|---|---|
| Type | Description |
TimeOff |
|
clear()
public TimeOff.Builder clear()| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
|
clearDescription()
public TimeOff.Builder clearDescription()Description of the leave if available (e.g. 'Vacation').
string description = 2;
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
This builder for chaining. |
clearInterval()
public TimeOff.Builder clearInterval()Interval duration of the leave.
.google.type.Interval interval = 1;
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
|
getDefaultInstanceForType()
public TimeOff getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimeOff |
|
getDescription()
public String getDescription()Description of the leave if available (e.g. 'Vacation').
string description = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Description of the leave if available (e.g. 'Vacation').
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInterval()
public Interval getInterval()Interval duration of the leave.
.google.type.Interval interval = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Interval |
The interval. |
getIntervalBuilder()
public Interval.Builder getIntervalBuilder()Interval duration of the leave.
.google.type.Interval interval = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Interval.Builder |
|
getIntervalOrBuilder()
public IntervalOrBuilder getIntervalOrBuilder()Interval duration of the leave.
.google.type.Interval interval = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.IntervalOrBuilder |
|
hasInterval()
public boolean hasInterval()Interval duration of the leave.
.google.type.Interval interval = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the interval field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TimeOff other)
public TimeOff.Builder mergeFrom(TimeOff other)| Parameter | |
|---|---|
| Name | Description |
other |
TimeOff |
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeOff.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimeOff.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
|
mergeInterval(Interval value)
public TimeOff.Builder mergeInterval(Interval value)Interval duration of the leave.
.google.type.Interval interval = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Interval |
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
|
setDescription(String value)
public TimeOff.Builder setDescription(String value)Description of the leave if available (e.g. 'Vacation').
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public TimeOff.Builder setDescriptionBytes(ByteString value)Description of the leave if available (e.g. 'Vacation').
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
This builder for chaining. |
setInterval(Interval value)
public TimeOff.Builder setInterval(Interval value)Interval duration of the leave.
.google.type.Interval interval = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Interval |
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
|
setInterval(Interval.Builder builderForValue)
public TimeOff.Builder setInterval(Interval.Builder builderForValue)Interval duration of the leave.
.google.type.Interval interval = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Interval.Builder |
| Returns | |
|---|---|
| Type | Description |
TimeOff.Builder |
|