public final class TimeSpan extends GeneratedMessageV3 implements TimeSpanOrBuilder
Start and end times for a build execution phase.
Protobuf type google.events.cloud.cloudbuild.v1.TimeSpan
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static TimeSpan getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TimeSpan.Builder newBuilder()
newBuilder(TimeSpan prototype)
public static TimeSpan.Builder newBuilder(TimeSpan prototype)
Parameter |
---|
Name | Description |
prototype | TimeSpan
|
public static TimeSpan parseDelimitedFrom(InputStream input)
public static TimeSpan parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TimeSpan parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimeSpan parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TimeSpan parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeSpan parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeSpan parseFrom(CodedInputStream input)
public static TimeSpan parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TimeSpan parseFrom(InputStream input)
public static TimeSpan parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TimeSpan parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimeSpan parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TimeSpan> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public TimeSpan getDefaultInstanceForType()
getEndTime()
public Timestamp getEndTime()
End of time span.
.google.protobuf.Timestamp end_time = 2;
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End of time span.
.google.protobuf.Timestamp end_time = 2;
getParserForType()
public Parser<TimeSpan> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStartTime()
public Timestamp getStartTime()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
Returns |
---|
Type | Description |
Timestamp | The startTime.
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start of time span.
.google.protobuf.Timestamp start_time = 1;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TimeSpan.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TimeSpan.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TimeSpan.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides