public final class UpcomingMaintenance extends GeneratedMessage implements UpcomingMaintenanceOrBuilder
Upcoming Maintenance notification information.
Protobuf type google.cloud.tpu.v2alpha1.UpcomingMaintenance
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CAN_RESCHEDULE_FIELD_NUMBER
public static final int CAN_RESCHEDULE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LATEST_WINDOW_START_TIME_FIELD_NUMBER
public static final int LATEST_WINDOW_START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MAINTENANCE_STATUS_FIELD_NUMBER
public static final int MAINTENANCE_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
WINDOW_END_TIME_FIELD_NUMBER
public static final int WINDOW_END_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
WINDOW_START_TIME_FIELD_NUMBER
public static final int WINDOW_START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpcomingMaintenance getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpcomingMaintenance.Builder newBuilder()
newBuilder(UpcomingMaintenance prototype)
public static UpcomingMaintenance.Builder newBuilder(UpcomingMaintenance prototype)
parseDelimitedFrom(InputStream input)
public static UpcomingMaintenance parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpcomingMaintenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpcomingMaintenance parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpcomingMaintenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpcomingMaintenance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpcomingMaintenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static UpcomingMaintenance parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpcomingMaintenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static UpcomingMaintenance parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpcomingMaintenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpcomingMaintenance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpcomingMaintenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpcomingMaintenance> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCanReschedule()
public boolean getCanReschedule()
Indicates if the maintenance can be customer triggered.
optional bool can_reschedule = 5;
| Returns |
| Type |
Description |
boolean |
The canReschedule.
|
getDefaultInstanceForType()
public UpcomingMaintenance getDefaultInstanceForType()
getLatestWindowStartTime()
public String getLatestWindowStartTime()
The latest time for the planned maintenance window to start.
This timestamp value is in RFC3339 text format.
optional string latest_window_start_time = 8;
| Returns |
| Type |
Description |
String |
The latestWindowStartTime.
|
getLatestWindowStartTimeBytes()
public ByteString getLatestWindowStartTimeBytes()
The latest time for the planned maintenance window to start.
This timestamp value is in RFC3339 text format.
optional string latest_window_start_time = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for latestWindowStartTime.
|
getMaintenanceStatus()
public UpcomingMaintenance.MaintenanceStatus getMaintenanceStatus()
The status of the maintenance.
optional .google.cloud.tpu.v2alpha1.UpcomingMaintenance.MaintenanceStatus maintenance_status = 9;
getMaintenanceStatusValue()
public int getMaintenanceStatusValue()
The status of the maintenance.
optional .google.cloud.tpu.v2alpha1.UpcomingMaintenance.MaintenanceStatus maintenance_status = 9;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for maintenanceStatus.
|
getParserForType()
public Parser<UpcomingMaintenance> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getType()
public UpcomingMaintenance.MaintenanceType getType()
Defines the type of maintenance.
optional .google.cloud.tpu.v2alpha1.UpcomingMaintenance.MaintenanceType type = 1;
getTypeValue()
public int getTypeValue()
Defines the type of maintenance.
optional .google.cloud.tpu.v2alpha1.UpcomingMaintenance.MaintenanceType type = 1;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for type.
|
getWindowEndTime()
public String getWindowEndTime()
The time by which the maintenance disruption will be completed.
This timestamp value is in RFC3339 text format.
optional string window_end_time = 7;
| Returns |
| Type |
Description |
String |
The windowEndTime.
|
getWindowEndTimeBytes()
public ByteString getWindowEndTimeBytes()
The time by which the maintenance disruption will be completed.
This timestamp value is in RFC3339 text format.
optional string window_end_time = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for windowEndTime.
|
getWindowStartTime()
public String getWindowStartTime()
The current start time of the maintenance window.
This timestamp value is in RFC3339 text format.
optional string window_start_time = 6;
| Returns |
| Type |
Description |
String |
The windowStartTime.
|
getWindowStartTimeBytes()
public ByteString getWindowStartTimeBytes()
The current start time of the maintenance window.
This timestamp value is in RFC3339 text format.
optional string window_start_time = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for windowStartTime.
|
hasCanReschedule()
public boolean hasCanReschedule()
Indicates if the maintenance can be customer triggered.
optional bool can_reschedule = 5;
| Returns |
| Type |
Description |
boolean |
Whether the canReschedule field is set.
|
hasLatestWindowStartTime()
public boolean hasLatestWindowStartTime()
The latest time for the planned maintenance window to start.
This timestamp value is in RFC3339 text format.
optional string latest_window_start_time = 8;
| Returns |
| Type |
Description |
boolean |
Whether the latestWindowStartTime field is set.
|
hasMaintenanceStatus()
public boolean hasMaintenanceStatus()
The status of the maintenance.
optional .google.cloud.tpu.v2alpha1.UpcomingMaintenance.MaintenanceStatus maintenance_status = 9;
| Returns |
| Type |
Description |
boolean |
Whether the maintenanceStatus field is set.
|
hasType()
Defines the type of maintenance.
optional .google.cloud.tpu.v2alpha1.UpcomingMaintenance.MaintenanceType type = 1;
| Returns |
| Type |
Description |
boolean |
Whether the type field is set.
|
hasWindowEndTime()
public boolean hasWindowEndTime()
The time by which the maintenance disruption will be completed.
This timestamp value is in RFC3339 text format.
optional string window_end_time = 7;
| Returns |
| Type |
Description |
boolean |
Whether the windowEndTime field is set.
|
hasWindowStartTime()
public boolean hasWindowStartTime()
The current start time of the maintenance window.
This timestamp value is in RFC3339 text format.
optional string window_start_time = 6;
| Returns |
| Type |
Description |
boolean |
Whether the windowStartTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpcomingMaintenance.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UpcomingMaintenance.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public UpcomingMaintenance.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides