Package com.google.cloud.osconfig.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.com.google.protobuf.DurationgetDuration()Optional.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()Optional.PatchJobs.PatchInstanceFiltergetInstanceFilter()Required.PatchJobs.PatchInstanceFilterOrBuildergetInstanceFilterOrBuilder()Required.com.google.protobuf.TimestampgetLastExecuteTime()Output only.com.google.protobuf.TimestampOrBuildergetLastExecuteTimeOrBuilder()Output only.StringgetName()Unique name for the patch deployment resource in a project.com.google.protobuf.ByteStringgetNameBytes()Unique name for the patch deployment resource in a project.PatchDeployments.OneTimeSchedulegetOneTimeSchedule()Required.PatchDeployments.OneTimeScheduleOrBuildergetOneTimeScheduleOrBuilder()Required.PatchJobs.PatchConfiggetPatchConfig()Optional.PatchJobs.PatchConfigOrBuildergetPatchConfigOrBuilder()Optional.PatchDeployments.RecurringSchedulegetRecurringSchedule()Required.PatchDeployments.RecurringScheduleOrBuildergetRecurringScheduleOrBuilder()Required.PatchJobs.PatchRolloutgetRollout()Optional.PatchJobs.PatchRolloutOrBuildergetRolloutOrBuilder()Optional.PatchDeployments.PatchDeployment.ScheduleCasegetScheduleCase()PatchDeployments.PatchDeployment.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasDuration()Optional.booleanhasInstanceFilter()Required.booleanhasLastExecuteTime()Output only.booleanhasOneTimeSchedule()Required.booleanhasPatchConfig()Optional.booleanhasRecurringSchedule()Required.booleanhasRollout()Optional.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v1.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.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The instanceFilter.
-
getInstanceFilterOrBuilder
PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()
Required. VM instances to patch.
.google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];
-
hasPatchConfig
boolean hasPatchConfig()
Optional. Patch configuration that is applied.
.google.cloud.osconfig.v1.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.v1.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.v1.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.v1.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.v1.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.v1.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];
-
hasRecurringSchedule
boolean hasRecurringSchedule()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.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.v1.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The recurringSchedule.
-
getRecurringScheduleOrBuilder
PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder()
Required. Schedule recurring executions.
.google.cloud.osconfig.v1.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.v1.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.v1.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.v1.PatchRollout rollout = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getStateValue
int getStateValue()
Output only. Current state of the patch deployment.
.google.cloud.osconfig.v1.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.v1.PatchDeployment.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getScheduleCase
PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase()
-
-