public static final class TimeSpan.Builder extends GeneratedMessageV3.Builder<TimeSpan.Builder> implements TimeSpanOrBuilder
Start and end times for a build execution phase.
Protobuf type google.devtools.cloudbuild.v1.TimeSpan
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSpan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public TimeSpan buildPartial()
Returns
clear()
public TimeSpan.Builder clear()
Returns
Overrides
clearEndTime()
public TimeSpan.Builder clearEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public TimeSpan.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSpan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStartTime()
public TimeSpan.Builder clearStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns
clone()
public TimeSpan.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TimeSpan getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEndTime()
public Timestamp getEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns
getStartTime()
public Timestamp getStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns
hasEndTime()
public boolean hasEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEndTime(Timestamp value)
public TimeSpan.Builder mergeEndTime(Timestamp value)
End of time span.
.google.protobuf.Timestamp end_time = 2;
Parameter
Returns
mergeFrom(TimeSpan other)
public TimeSpan.Builder mergeFrom(TimeSpan other)
Parameter
Returns
public TimeSpan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimeSpan.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeStartTime(Timestamp value)
public TimeSpan.Builder mergeStartTime(Timestamp value)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSpan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEndTime(Timestamp value)
public TimeSpan.Builder setEndTime(Timestamp value)
End of time span.
.google.protobuf.Timestamp end_time = 2;
Parameter
Returns
setEndTime(Timestamp.Builder builderForValue)
public TimeSpan.Builder setEndTime(Timestamp.Builder builderForValue)
End of time span.
.google.protobuf.Timestamp end_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSpan.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSpan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStartTime(Timestamp value)
public TimeSpan.Builder setStartTime(Timestamp value)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Parameter
Returns
setStartTime(Timestamp.Builder builderForValue)
public TimeSpan.Builder setStartTime(Timestamp.Builder builderForValue)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSpan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides