Interface PatchDeployments.PatchDeploymentOrBuilder (2.3.2)

public static interface PatchDeployments.PatchDeploymentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Time the patch deployment was created. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time the patch deployment was created. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract 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
TypeDescription
String

The description.

getDescriptionBytes()

public abstract 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
TypeDescription
ByteString

The bytes for description.

getDuration()

public abstract 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
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public abstract 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];

Returns
TypeDescription
DurationOrBuilder

getInstanceFilter()

public abstract PatchJobs.PatchInstanceFilter getInstanceFilter()

Required. VM instances to patch.

.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchJobs.PatchInstanceFilter

The instanceFilter.

getInstanceFilterOrBuilder()

public abstract PatchJobs.PatchInstanceFilterOrBuilder getInstanceFilterOrBuilder()

Required. VM instances to patch.

.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchJobs.PatchInstanceFilterOrBuilder

getLastExecuteTime()

public abstract Timestamp getLastExecuteTime()

Output only. The last time a patch job was started by this deployment. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The lastExecuteTime.

getLastExecuteTimeOrBuilder()

public abstract TimestampOrBuilder getLastExecuteTimeOrBuilder()

Output only. The last time a patch job was started by this deployment. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getOneTimeSchedule()

public abstract PatchDeployments.OneTimeSchedule getOneTimeSchedule()

Required. Schedule a one-time execution.

.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.OneTimeSchedule

The oneTimeSchedule.

getOneTimeScheduleOrBuilder()

public abstract PatchDeployments.OneTimeScheduleOrBuilder getOneTimeScheduleOrBuilder()

Required. Schedule a one-time execution.

.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.OneTimeScheduleOrBuilder

getPatchConfig()

public abstract PatchJobs.PatchConfig getPatchConfig()

Optional. Patch configuration that is applied.

.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PatchJobs.PatchConfig

The patchConfig.

getPatchConfigOrBuilder()

public abstract PatchJobs.PatchConfigOrBuilder getPatchConfigOrBuilder()

Optional. Patch configuration that is applied.

.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PatchJobs.PatchConfigOrBuilder

getRecurringSchedule()

public abstract PatchDeployments.RecurringSchedule getRecurringSchedule()

Required. Schedule recurring executions.

.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.RecurringSchedule

The recurringSchedule.

getRecurringScheduleOrBuilder()

public abstract PatchDeployments.RecurringScheduleOrBuilder getRecurringScheduleOrBuilder()

Required. Schedule recurring executions.

.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.RecurringScheduleOrBuilder

getScheduleCase()

public abstract PatchDeployments.PatchDeployment.ScheduleCase getScheduleCase()
Returns
TypeDescription
PatchDeployments.PatchDeployment.ScheduleCase

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Time the patch deployment was last updated. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time the patch deployment was last updated. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Time the patch deployment was created. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDuration()

public abstract 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
TypeDescription
boolean

Whether the duration field is set.

hasInstanceFilter()

public abstract boolean hasInstanceFilter()

Required. VM instances to patch.

.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the instanceFilter field is set.

hasLastExecuteTime()

public abstract boolean hasLastExecuteTime()

Output only. The last time a patch job was started by this deployment. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp last_execute_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the lastExecuteTime field is set.

hasOneTimeSchedule()

public abstract boolean hasOneTimeSchedule()

Required. Schedule a one-time execution.

.google.cloud.osconfig.v1beta.OneTimeSchedule one_time_schedule = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the oneTimeSchedule field is set.

hasPatchConfig()

public abstract boolean hasPatchConfig()

Optional. Patch configuration that is applied.

.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the patchConfig field is set.

hasRecurringSchedule()

public abstract boolean hasRecurringSchedule()

Required. Schedule recurring executions.

.google.cloud.osconfig.v1beta.RecurringSchedule recurring_schedule = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the recurringSchedule field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Time the patch deployment was last updated. Timestamp is in <a href="https://www.ietf.org/rfc/rfc3339.txt" target="_blank">RFC3339</a> text format.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.