- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TimeSpan.BuilderImplements
TimeSpanOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSpan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimeSpan.Builder |
build()
public TimeSpan build()
Type | Description |
TimeSpan |
buildPartial()
public TimeSpan buildPartial()
Type | Description |
TimeSpan |
clear()
public TimeSpan.Builder clear()
Type | Description |
TimeSpan.Builder |
clearEndTime()
public TimeSpan.Builder clearEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
TimeSpan.Builder |
clearField(Descriptors.FieldDescriptor field)
public TimeSpan.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TimeSpan.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSpan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TimeSpan.Builder |
clearStartTime()
public TimeSpan.Builder clearStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
TimeSpan.Builder |
clone()
public TimeSpan.Builder clone()
Type | Description |
TimeSpan.Builder |
getDefaultInstanceForType()
public TimeSpan getDefaultInstanceForType()
Type | Description |
TimeSpan |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
TimestampOrBuilder |
getStartTime()
public Timestamp getStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
TimestampOrBuilder |
hasEndTime()
public boolean hasEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
boolean | Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public TimeSpan.Builder mergeEndTime(Timestamp value)
End of time span.
.google.protobuf.Timestamp end_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
TimeSpan.Builder |
mergeFrom(TimeSpan other)
public TimeSpan.Builder mergeFrom(TimeSpan other)
Name | Description |
other | TimeSpan |
Type | Description |
TimeSpan.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeSpan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TimeSpan.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TimeSpan.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TimeSpan.Builder |
mergeStartTime(Timestamp value)
public TimeSpan.Builder mergeStartTime(Timestamp value)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
value | Timestamp |
Type | Description |
TimeSpan.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSpan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimeSpan.Builder |
setEndTime(Timestamp value)
public TimeSpan.Builder setEndTime(Timestamp value)
End of time span.
.google.protobuf.Timestamp end_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
TimeSpan.Builder |
setEndTime(Timestamp.Builder builderForValue)
public TimeSpan.Builder setEndTime(Timestamp.Builder builderForValue)
End of time span.
.google.protobuf.Timestamp end_time = 2;
Name | Description |
builderForValue | Builder |
Type | Description |
TimeSpan.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSpan.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimeSpan.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSpan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TimeSpan.Builder |
setStartTime(Timestamp value)
public TimeSpan.Builder setStartTime(Timestamp value)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
value | Timestamp |
Type | Description |
TimeSpan.Builder |
setStartTime(Timestamp.Builder builderForValue)
public TimeSpan.Builder setStartTime(Timestamp.Builder builderForValue)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
builderForValue | Builder |
Type | Description |
TimeSpan.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSpan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimeSpan.Builder |