Package com.google.container.v1beta1
Interface MaintenancePolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MaintenancePolicy
,MaintenancePolicy.Builder
public interface MaintenancePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getResourceVersion()
A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields).com.google.protobuf.ByteString
getResourceVersionBytes()
A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields).MaintenanceWindow
getWindow()
Specifies the maintenance window in which maintenance may be performed.MaintenanceWindowOrBuilder
getWindowOrBuilder()
Specifies the maintenance window in which maintenance may be performed.boolean
hasWindow()
Specifies the maintenance window in which maintenance may be performed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasWindow
boolean hasWindow()
Specifies the maintenance window in which maintenance may be performed.
.google.container.v1beta1.MaintenanceWindow window = 1;
- Returns:
- Whether the window field is set.
-
getWindow
MaintenanceWindow getWindow()
Specifies the maintenance window in which maintenance may be performed.
.google.container.v1beta1.MaintenanceWindow window = 1;
- Returns:
- The window.
-
getWindowOrBuilder
MaintenanceWindowOrBuilder getWindowOrBuilder()
Specifies the maintenance window in which maintenance may be performed.
.google.container.v1beta1.MaintenanceWindow window = 1;
-
getResourceVersion
String getResourceVersion()
A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.
string resource_version = 3;
- Returns:
- The resourceVersion.
-
getResourceVersionBytes
com.google.protobuf.ByteString getResourceVersionBytes()
A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.
string resource_version = 3;
- Returns:
- The bytes for resourceVersion.
-
-