public final class MaintenanceSummary extends GeneratedMessageV3 implements MaintenanceSummaryOrBuilder
MaintenanceSummary contains maintenance statistics calculated based on
ResourceMaintenances within the scope: project and location.
Protobuf type google.cloud.maintenance.api.v1beta.MaintenanceSummary
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
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONTROLS_FIELD_NUMBER
public static final int CONTROLS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MAINTENANCE_END_TIME_FIELD_NUMBER
public static final int MAINTENANCE_END_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MAINTENANCE_NAME_FIELD_NUMBER
public static final int MAINTENANCE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MAINTENANCE_SCHEDULED_END_TIME_FIELD_NUMBER
public static final int MAINTENANCE_SCHEDULED_END_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MAINTENANCE_SCHEDULED_START_TIME_FIELD_NUMBER
public static final int MAINTENANCE_SCHEDULED_START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MAINTENANCE_START_TIME_FIELD_NUMBER
public static final int MAINTENANCE_START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USER_CONTROLLABLE_FIELD_NUMBER
public static final int USER_CONTROLLABLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MaintenanceSummary getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MaintenanceSummary.Builder newBuilder()
newBuilder(MaintenanceSummary prototype)
public static MaintenanceSummary.Builder newBuilder(MaintenanceSummary prototype)
parseDelimitedFrom(InputStream input)
public static MaintenanceSummary parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MaintenanceSummary parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MaintenanceSummary parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static MaintenanceSummary parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static MaintenanceSummary parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MaintenanceSummary parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MaintenanceSummary> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCategory()
public MaintenanceCategory getCategory()
Output only. The category of the maintenance event.
.google.cloud.maintenance.api.v1beta.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCategoryValue()
public int getCategoryValue()
Output only. The category of the maintenance event.
.google.cloud.maintenance.api.v1beta.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for category.
|
getControls(int index)
public MaintenanceControl getControls(int index)
Output only. Control available for that Maintenance (might not be available
for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getControlsCount()
public int getControlsCount()
Output only. Control available for that Maintenance (might not be available
for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getControlsList()
public List<MaintenanceControl> getControlsList()
Output only. Control available for that Maintenance (might not be available
for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getControlsOrBuilder(int index)
public MaintenanceControlOrBuilder getControlsOrBuilder(int index)
Output only. Control available for that Maintenance (might not be available
for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getControlsOrBuilderList()
public List<? extends MaintenanceControlOrBuilder> getControlsOrBuilderList()
Output only. Control available for that Maintenance (might not be available
for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.maintenance.api.v1beta.MaintenanceControlOrBuilder> |
|
getDefaultInstanceForType()
public MaintenanceSummary getDefaultInstanceForType()
getDescription()
public String getDescription()
Output only. The description of the maintenance.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Output only. The description of the maintenance.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getMaintenanceEndTime()
public Timestamp getMaintenanceEndTime()
Output only. Actual date when the maintenance successfully completed. Field
present only after the state changed to SUCCEEDED
.
.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The maintenanceEndTime.
|
getMaintenanceEndTimeOrBuilder()
public TimestampOrBuilder getMaintenanceEndTimeOrBuilder()
Output only. Actual date when the maintenance successfully completed. Field
present only after the state changed to SUCCEEDED
.
.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMaintenanceName()
public String getMaintenanceName()
Output only. The name of the maintenance.
string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The maintenanceName.
|
getMaintenanceNameBytes()
public ByteString getMaintenanceNameBytes()
Output only. The name of the maintenance.
string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for maintenanceName.
|
getMaintenanceScheduledEndTime()
public Timestamp getMaintenanceScheduledEndTime()
Output only. An estimated (best effort, not guaranteed) end time of the
scheduled maintenance.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The maintenanceScheduledEndTime.
|
getMaintenanceScheduledEndTimeOrBuilder()
public TimestampOrBuilder getMaintenanceScheduledEndTimeOrBuilder()
Output only. An estimated (best effort, not guaranteed) end time of the
scheduled maintenance.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMaintenanceScheduledStartTime()
public Timestamp getMaintenanceScheduledStartTime()
Output only. Scheduled start time of the maintenance. The maintenance will
start at maintenanceScheduledStartTime
or later, with best effort to
finish before maintenanceScheduledEndTime
.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The maintenanceScheduledStartTime.
|
getMaintenanceScheduledStartTimeOrBuilder()
public TimestampOrBuilder getMaintenanceScheduledStartTimeOrBuilder()
Output only. Scheduled start time of the maintenance. The maintenance will
start at maintenanceScheduledStartTime
or later, with best effort to
finish before maintenanceScheduledEndTime
.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMaintenanceStartTime()
public Timestamp getMaintenanceStartTime()
Output only. Actual date when the maintenance started. Field present only
after the state changed to RUNNING
.
.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The maintenanceStartTime.
|
getMaintenanceStartTimeOrBuilder()
public TimestampOrBuilder getMaintenanceStartTimeOrBuilder()
Output only. Actual date when the maintenance started. Field present only
after the state changed to RUNNING
.
.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<MaintenanceSummary> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStats(int index)
public MaintenanceSummary.Stats getStats(int index)
Output only. Stats is a field of ResourceMaintenance used to aggregate the
stats.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getStatsCount()
public int getStatsCount()
Output only. Stats is a field of ResourceMaintenance used to aggregate the
stats.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getStatsList()
public List<MaintenanceSummary.Stats> getStatsList()
Output only. Stats is a field of ResourceMaintenance used to aggregate the
stats.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatsOrBuilder(int index)
public MaintenanceSummary.StatsOrBuilder getStatsOrBuilder(int index)
Output only. Stats is a field of ResourceMaintenance used to aggregate the
stats.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getStatsOrBuilderList()
public List<? extends MaintenanceSummary.StatsOrBuilder> getStatsOrBuilderList()
Output only. Stats is a field of ResourceMaintenance used to aggregate the
stats.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.maintenance.api.v1beta.MaintenanceSummary.StatsOrBuilder> |
|
getTitle()
Output only. The title of the maintenance.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The title.
|
getTitleBytes()
public ByteString getTitleBytes()
Output only. The title of the maintenance.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for title.
|
getUserControllable()
public boolean getUserControllable()
Output only. Indicates whether the user has some control over that
maintenance, either proactively before maintenance was scheduled with
maintenance policy or with reactive controls after it was scheduled (see
controls field).
bool user_controllable = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
The userControllable.
|
hasMaintenanceEndTime()
public boolean hasMaintenanceEndTime()
Output only. Actual date when the maintenance successfully completed. Field
present only after the state changed to SUCCEEDED
.
.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the maintenanceEndTime field is set.
|
hasMaintenanceScheduledEndTime()
public boolean hasMaintenanceScheduledEndTime()
Output only. An estimated (best effort, not guaranteed) end time of the
scheduled maintenance.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the maintenanceScheduledEndTime field is set.
|
hasMaintenanceScheduledStartTime()
public boolean hasMaintenanceScheduledStartTime()
Output only. Scheduled start time of the maintenance. The maintenance will
start at maintenanceScheduledStartTime
or later, with best effort to
finish before maintenanceScheduledEndTime
.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the maintenanceScheduledStartTime field is set.
|
hasMaintenanceStartTime()
public boolean hasMaintenanceStartTime()
Output only. Actual date when the maintenance started. Field present only
after the state changed to RUNNING
.
.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the maintenanceStartTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MaintenanceSummary.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MaintenanceSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MaintenanceSummary.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides