public final class FutureReservationTimeWindow extends GeneratedMessage implements FutureReservationTimeWindowOrBuilder Protobuf type google.cloud.compute.v1.FutureReservationTimeWindow
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FutureReservationTimeWindowImplements
FutureReservationTimeWindowOrBuilderStatic Fields
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
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 FutureReservationTimeWindow getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static FutureReservationTimeWindow.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow.Builder |
|
newBuilder(FutureReservationTimeWindow prototype)
public static FutureReservationTimeWindow.Builder newBuilder(FutureReservationTimeWindow prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
FutureReservationTimeWindow |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow.Builder |
|
parseDelimitedFrom(InputStream input)
public static FutureReservationTimeWindow parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FutureReservationTimeWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static FutureReservationTimeWindow parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FutureReservationTimeWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static FutureReservationTimeWindow parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FutureReservationTimeWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static FutureReservationTimeWindow parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FutureReservationTimeWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static FutureReservationTimeWindow parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FutureReservationTimeWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static FutureReservationTimeWindow parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FutureReservationTimeWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<FutureReservationTimeWindow> parser()| Returns | |
|---|---|
| Type | Description |
Parser<FutureReservationTimeWindow> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public FutureReservationTimeWindow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow |
|
getDuration()
public Duration getDuration()optional .google.cloud.compute.v1.Duration duration = 155471252;
| Returns | |
|---|---|
| Type | Description |
Duration |
The duration. |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()optional .google.cloud.compute.v1.Duration duration = 155471252;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getEndTime()
public String getEndTime()optional string end_time = 114938801;
| Returns | |
|---|---|
| Type | Description |
String |
The endTime. |
getEndTimeBytes()
public ByteString getEndTimeBytes()optional string end_time = 114938801;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for endTime. |
getParserForType()
public Parser<FutureReservationTimeWindow> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<FutureReservationTimeWindow> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStartTime()
public String getStartTime()Start time of the Future Reservation. The start_time is an RFC3339 string.
optional string start_time = 37467274;
| Returns | |
|---|---|
| Type | Description |
String |
The startTime. |
getStartTimeBytes()
public ByteString getStartTimeBytes()Start time of the Future Reservation. The start_time is an RFC3339 string.
optional string start_time = 37467274;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for startTime. |
hasDuration()
public boolean hasDuration()optional .google.cloud.compute.v1.Duration duration = 155471252;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the duration field is set. |
hasEndTime()
public boolean hasEndTime()optional string end_time = 114938801;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()Start time of the Future Reservation. The start_time is an RFC3339 string.
optional string start_time = 37467274;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public FutureReservationTimeWindow.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FutureReservationTimeWindow.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow.Builder |
|
toBuilder()
public FutureReservationTimeWindow.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|