Interface MaintenanceControlOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MaintenanceControl,MaintenanceControl.Builder
@Generated
public interface MaintenanceControlOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe control of the resource maintenance.intThe control of the resource maintenance.Link to Service Producer documentation about maintenance control.com.google.protobuf.ByteStringLink to Service Producer documentation about maintenance control.booleanIndicates whether the control is available only in Service Producer API (not through Unified Maintenance).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getControlValue
int getControlValue()The control of the resource maintenance.
.google.cloud.maintenance.api.v1.MaintenanceControl.Control control = 1;- Returns:
- The enum numeric value on the wire for control.
-
getControl
MaintenanceControl.Control getControl()The control of the resource maintenance.
.google.cloud.maintenance.api.v1.MaintenanceControl.Control control = 1;- Returns:
- The control.
-
getIsCustom
boolean getIsCustom()Indicates whether the control is available only in Service Producer API (not through Unified Maintenance).
bool is_custom = 2;- Returns:
- The isCustom.
-
getDocumentation
String getDocumentation()Link to Service Producer documentation about maintenance control. Provided only when `isCustom` is `true`.
string documentation = 3;- Returns:
- The documentation.
-
getDocumentationBytes
com.google.protobuf.ByteString getDocumentationBytes()Link to Service Producer documentation about maintenance control. Provided only when `isCustom` is `true`.
string documentation = 3;- Returns:
- The bytes for documentation.
-