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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSpan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public TimeSpan buildPartial()
clear()
public TimeSpan.Builder clear()
Overrides
clearEndTime()
public TimeSpan.Builder clearEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
clearField(Descriptors.FieldDescriptor field)
public TimeSpan.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSpan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStartTime()
public TimeSpan.Builder clearStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
clone()
public TimeSpan.Builder clone()
Overrides
getDefaultInstanceForType()
public TimeSpan getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEndTime()
public Timestamp getEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
getStartTime()
public Timestamp getStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns |
---|
Type | Description |
Timestamp | The startTime.
|
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEndTime(Timestamp value)
public TimeSpan.Builder mergeEndTime(Timestamp value)
End of time span.
.google.protobuf.Timestamp end_time = 2;
mergeFrom(TimeSpan other)
public TimeSpan.Builder mergeFrom(TimeSpan other)
public TimeSpan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimeSpan.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeStartTime(Timestamp value)
public TimeSpan.Builder mergeStartTime(Timestamp value)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSpan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEndTime(Timestamp value)
public TimeSpan.Builder setEndTime(Timestamp value)
End of time span.
.google.protobuf.Timestamp end_time = 2;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSpan.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSpan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartTime(Timestamp value)
public TimeSpan.Builder setStartTime(Timestamp value)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSpan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides