Package com.google.cloud.osconfig.v1beta
Interface PatchDeployments.PatchDeploymentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PatchDeployments.PatchDeployment,PatchDeployments.PatchDeployment.Builder
- Enclosing class:
- PatchDeployments
public static interface PatchDeployments.PatchDeploymentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Unique name for the patch deployment resource in a project.com.google.protobuf.ByteStringUnique name for the patch deployment resource in a project.Required.Required.Optional.Optional.Required.Required.Optional.Optional.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.booleanRequired.booleanOutput only.booleanRequired.booleanOptional.booleanRequired.booleanOptional.booleanOutput only.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
-
getName
String getName()Unique name for the patch deployment resource in a project. The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`. This field is ignored when you create a new patch deployment.string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Unique name for the patch deployment resource in a project. The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`. This field is ignored when you create a new patch deployment.string name = 1;- Returns:
- The bytes for name.
-
getDescription
String getDescription()Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
hasInstanceFilter
boolean hasInstanceFilter()Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the instanceFilter field is set.
-
getInstanceFilter
PatchJobs.PatchInstanceFilter getInstanceFilter()Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The instanceFilter.
-
getInstanceFilterOrBuilder
PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()Required. VM instances to patch.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED]; -
hasPatchConfig
boolean hasPatchConfig()Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the patchConfig field is set.
-
getPatchConfig
PatchJobs.PatchConfig getPatchConfig()Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The patchConfig.
-
getPatchConfigOrBuilder
PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasDuration
boolean hasDuration()Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Optional. Duration of the patch. After the duration ends, the patch times out.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = OPTIONAL]; -
hasOneTimeSchedule
boolean hasOneTimeSchedule()Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the oneTimeSchedule field is set.
-
getOneTimeSchedule
PatchDeployments.OneTimeSchedule getOneTimeSchedule()Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The oneTimeSchedule.
-
getOneTimeScheduleOrBuilder
PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder()Required. Schedule a one-time execution.
.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED]; -
hasRecurringSchedule
boolean hasRecurringSchedule()Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the recurringSchedule field is set.
-
getRecurringSchedule
PatchDeployments.RecurringSchedule getRecurringSchedule()Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The recurringSchedule.
-
getRecurringScheduleOrBuilder
PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder()Required. Schedule recurring executions.
.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED]; -
hasCreateTime
boolean hasCreateTime()Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time the patch deployment was last updated. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasLastExecuteTime
boolean hasLastExecuteTime()Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the lastExecuteTime field is set.
-
getLastExecuteTime
com.google.protobuf.Timestamp getLastExecuteTime()Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The lastExecuteTime.
-
getLastExecuteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastExecuteTimeOrBuilder()Output only. The last time a patch job was started by this deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasRollout
boolean hasRollout()Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the rollout field is set.
-
getRollout
PatchJobs.PatchRollout getRollout()Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The rollout.
-
getRolloutOrBuilder
PatchJobs.PatchRolloutOrBuilder getRolloutOrBuilder()Optional. Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getStateValue
int getStateValue()Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
PatchDeployments.PatchDeployment.State getState()Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1beta.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getScheduleCase
PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase()
-