- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSpan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
build()
public TimeSpan build()
Returns | |
---|---|
Type | Description |
TimeSpan |
buildPartial()
public TimeSpan buildPartial()
Returns | |
---|---|
Type | Description |
TimeSpan |
clear()
public TimeSpan.Builder clear()
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
clearEndTime()
public TimeSpan.Builder clearEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
clearField(Descriptors.FieldDescriptor field)
public TimeSpan.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSpan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
clearStartTime()
public TimeSpan.Builder clearStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
clone()
public TimeSpan.Builder clone()
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
getDefaultInstanceForType()
public TimeSpan getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TimeSpan |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public TimeSpan.Builder mergeEndTime(Timestamp value)
End of time span.
.google.protobuf.Timestamp end_time = 2;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
mergeFrom(TimeSpan other)
public TimeSpan.Builder mergeFrom(TimeSpan other)
Parameter | |
---|---|
Name | Description |
other | TimeSpan |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeSpan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TimeSpan.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
mergeStartTime(Timestamp value)
public TimeSpan.Builder mergeStartTime(Timestamp value)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSpan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
setEndTime(Timestamp value)
public TimeSpan.Builder setEndTime(Timestamp value)
End of time span.
.google.protobuf.Timestamp end_time = 2;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSpan.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSpan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
setStartTime(Timestamp value)
public TimeSpan.Builder setStartTime(Timestamp value)
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSpan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TimeSpan.Builder |