Class MaintenanceSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
com.google.cloud.maintenance.api.v1.MaintenanceSummary.Builder
- All Implemented Interfaces:
MaintenanceSummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MaintenanceSummary
public static final class MaintenanceSummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
implements MaintenanceSummaryOrBuilder
MaintenanceSummary contains maintenance statistics calculated based on ResourceMaintenances within the scope: project and location.Protobuf type
google.cloud.maintenance.api.v1.MaintenanceSummary-
Method Summary
Modifier and TypeMethodDescriptionaddAllControls(Iterable<? extends MaintenanceControl> values) Output only.addAllStats(Iterable<? extends MaintenanceSummary.Stats> values) Output only.addControls(int index, MaintenanceControl value) Output only.addControls(int index, MaintenanceControl.Builder builderForValue) Output only.addControls(MaintenanceControl value) Output only.addControls(MaintenanceControl.Builder builderForValue) Output only.Output only.addControlsBuilder(int index) Output only.addStats(int index, MaintenanceSummary.Stats value) Output only.addStats(int index, MaintenanceSummary.Stats.Builder builderForValue) Output only.addStats(MaintenanceSummary.Stats value) Output only.addStats(MaintenanceSummary.Stats.Builder builderForValue) Output only.Output only.addStatsBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.intOutput only.getControls(int index) Output only.getControlsBuilder(int index) Output only.Output only.intOutput only.Output only.getControlsOrBuilder(int index) Output only.List<? extends MaintenanceControlOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getStats(int index) Output only.getStatsBuilder(int index) Output only.Output only.intOutput only.Output only.getStatsOrBuilder(int index) Output only.List<? extends MaintenanceSummary.StatsOrBuilder>Output only.getTitle()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(MaintenanceSummary other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaintenanceEndTime(com.google.protobuf.Timestamp value) Output only.mergeMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value) Output only.mergeMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value) Output only.mergeMaintenanceStartTime(com.google.protobuf.Timestamp value) Output only.removeControls(int index) Output only.removeStats(int index) Output only.setCategory(MaintenanceCategory value) Output only.setCategoryValue(int value) Output only.setControls(int index, MaintenanceControl value) Output only.setControls(int index, MaintenanceControl.Builder builderForValue) Output only.setDescription(String value) Output only.setDescriptionBytes(com.google.protobuf.ByteString value) Output only.setMaintenanceEndTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setMaintenanceName(String value) Output only.setMaintenanceNameBytes(com.google.protobuf.ByteString value) Output only.setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setMaintenanceStartTime(com.google.protobuf.Timestamp value) Output only.setMaintenanceStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setStats(int index, MaintenanceSummary.Stats value) Output only.setStats(int index, MaintenanceSummary.Stats.Builder builderForValue) Output only.Output only.setTitleBytes(com.google.protobuf.ByteString value) Output only.setUserControllable(boolean value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MaintenanceSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
-
mergeFrom
public MaintenanceSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MaintenanceSummary.Builder>- Throws:
IOException
-
getMaintenanceName
Output only. The name of the maintenance.
string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceNamein interfaceMaintenanceSummaryOrBuilder- Returns:
- The maintenanceName.
-
getMaintenanceNameBytes
public com.google.protobuf.ByteString getMaintenanceNameBytes()Output only. The name of the maintenance.
string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceNameBytesin interfaceMaintenanceSummaryOrBuilder- Returns:
- The bytes for maintenanceName.
-
setMaintenanceName
Output only. The name of the maintenance.
string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The maintenanceName to set.- Returns:
- This builder for chaining.
-
clearMaintenanceName
Output only. The name of the maintenance.
string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setMaintenanceNameBytes
Output only. The name of the maintenance.
string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for maintenanceName to set.- Returns:
- This builder for chaining.
-
getTitle
Output only. The title of the maintenance.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTitlein interfaceMaintenanceSummaryOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Output only. The title of the maintenance.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTitleBytesin interfaceMaintenanceSummaryOrBuilder- Returns:
- The bytes for title.
-
setTitle
Output only. The title of the maintenance.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Output only. The title of the maintenance.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTitleBytes
Output only. The title of the maintenance.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getDescription
Output only. The description of the maintenance.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionin interfaceMaintenanceSummaryOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Output only. The description of the maintenance.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionBytesin interfaceMaintenanceSummaryOrBuilder- Returns:
- The bytes for description.
-
setDescription
Output only. The description of the maintenance.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Output only. The description of the maintenance.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Output only. The description of the maintenance.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getCategoryValue
public int getCategoryValue()Output only. The category of the maintenance event.
.google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryValuein interfaceMaintenanceSummaryOrBuilder- Returns:
- The enum numeric value on the wire for category.
-
setCategoryValue
Output only. The category of the maintenance event.
.google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for category to set.- Returns:
- This builder for chaining.
-
getCategory
Output only. The category of the maintenance event.
.google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryin interfaceMaintenanceSummaryOrBuilder- Returns:
- The category.
-
setCategory
Output only. The category of the maintenance event.
.google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
Output only. The category of the maintenance event.
.google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasMaintenanceScheduledStartTimein interfaceMaintenanceSummaryOrBuilder- Returns:
- Whether the maintenanceScheduledStartTime field is set.
-
getMaintenanceScheduledStartTime
public com.google.protobuf.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];- Specified by:
getMaintenanceScheduledStartTimein interfaceMaintenanceSummaryOrBuilder- Returns:
- The maintenanceScheduledStartTime.
-
setMaintenanceScheduledStartTime
public MaintenanceSummary.Builder setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value) 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]; -
setMaintenanceScheduledStartTime
public MaintenanceSummary.Builder setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp.Builder builderForValue) 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]; -
mergeMaintenanceScheduledStartTime
public MaintenanceSummary.Builder mergeMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value) 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]; -
clearMaintenanceScheduledStartTime
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]; -
getMaintenanceScheduledStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceScheduledStartTimeBuilder()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]; -
getMaintenanceScheduledStartTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getMaintenanceScheduledStartTimeOrBuilderin interfaceMaintenanceSummaryOrBuilder
-
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];- Specified by:
hasMaintenanceScheduledEndTimein interfaceMaintenanceSummaryOrBuilder- Returns:
- Whether the maintenanceScheduledEndTime field is set.
-
getMaintenanceScheduledEndTime
public com.google.protobuf.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];- Specified by:
getMaintenanceScheduledEndTimein interfaceMaintenanceSummaryOrBuilder- Returns:
- The maintenanceScheduledEndTime.
-
setMaintenanceScheduledEndTime
public MaintenanceSummary.Builder setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value) 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]; -
setMaintenanceScheduledEndTime
public MaintenanceSummary.Builder setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp.Builder builderForValue) 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]; -
mergeMaintenanceScheduledEndTime
public MaintenanceSummary.Builder mergeMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value) 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]; -
clearMaintenanceScheduledEndTime
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]; -
getMaintenanceScheduledEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceScheduledEndTimeBuilder()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]; -
getMaintenanceScheduledEndTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getMaintenanceScheduledEndTimeOrBuilderin interfaceMaintenanceSummaryOrBuilder
-
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];- Specified by:
hasMaintenanceStartTimein interfaceMaintenanceSummaryOrBuilder- Returns:
- Whether the maintenanceStartTime field is set.
-
getMaintenanceStartTime
public com.google.protobuf.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];- Specified by:
getMaintenanceStartTimein interfaceMaintenanceSummaryOrBuilder- Returns:
- The maintenanceStartTime.
-
setMaintenanceStartTime
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]; -
setMaintenanceStartTime
public MaintenanceSummary.Builder setMaintenanceStartTime(com.google.protobuf.Timestamp.Builder builderForValue) 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]; -
mergeMaintenanceStartTime
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]; -
clearMaintenanceStartTime
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]; -
getMaintenanceStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceStartTimeBuilder()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]; -
getMaintenanceStartTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getMaintenanceStartTimeOrBuilderin interfaceMaintenanceSummaryOrBuilder
-
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];- Specified by:
hasMaintenanceEndTimein interfaceMaintenanceSummaryOrBuilder- Returns:
- Whether the maintenanceEndTime field is set.
-
getMaintenanceEndTime
public com.google.protobuf.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];- Specified by:
getMaintenanceEndTimein interfaceMaintenanceSummaryOrBuilder- Returns:
- The maintenanceEndTime.
-
setMaintenanceEndTime
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]; -
setMaintenanceEndTime
public MaintenanceSummary.Builder setMaintenanceEndTime(com.google.protobuf.Timestamp.Builder builderForValue) 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]; -
mergeMaintenanceEndTime
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]; -
clearMaintenanceEndTime
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]; -
getMaintenanceEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaintenanceEndTimeBuilder()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]; -
getMaintenanceEndTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getMaintenanceEndTimeOrBuilderin interfaceMaintenanceSummaryOrBuilder
-
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];- Specified by:
getUserControllablein interfaceMaintenanceSummaryOrBuilder- Returns:
- The userControllable.
-
setUserControllable
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];- Parameters:
value- The userControllable to set.- Returns:
- This builder for chaining.
-
clearUserControllable
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:
- This builder for chaining.
-
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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsListin interfaceMaintenanceSummaryOrBuilder
-
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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsCountin interfaceMaintenanceSummaryOrBuilder
-
getControls
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsin interfaceMaintenanceSummaryOrBuilder
-
setControls
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setControls
public MaintenanceSummary.Builder setControls(int index, MaintenanceControl.Builder builderForValue) Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControls
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControls
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControls
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControls
public MaintenanceSummary.Builder addControls(int index, MaintenanceControl.Builder builderForValue) Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllControls
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearControls
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeControls
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getControlsBuilder
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getControlsOrBuilder
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsOrBuilderin interfaceMaintenanceSummaryOrBuilder
-
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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsOrBuilderListin interfaceMaintenanceSummaryOrBuilder
-
addControlsBuilder
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addControlsBuilder
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getControlsBuilderList
Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatsList
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatsListin interfaceMaintenanceSummaryOrBuilder
-
getStatsCount
public int getStatsCount()Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatsCountin interfaceMaintenanceSummaryOrBuilder
-
getStats
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatsin interfaceMaintenanceSummaryOrBuilder
-
setStats
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStats
public MaintenanceSummary.Builder setStats(int index, MaintenanceSummary.Stats.Builder builderForValue) Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStats
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStats
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStats
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStats
public MaintenanceSummary.Builder addStats(int index, MaintenanceSummary.Stats.Builder builderForValue) Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllStats
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStats
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeStats
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatsBuilder
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatsOrBuilder
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatsOrBuilderin interfaceMaintenanceSummaryOrBuilder
-
getStatsOrBuilderList
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatsOrBuilderListin interfaceMaintenanceSummaryOrBuilder
-
addStatsBuilder
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStatsBuilder
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatsBuilderList
Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-