Package com.google.cloud.osconfig.v1beta
Class PatchJobs.ExecutePatchJobRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1beta.PatchJobs.ExecutePatchJobRequest
- All Implemented Interfaces:
PatchJobs.ExecutePatchJobRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PatchJobs
public static final class PatchJobs.ExecutePatchJobRequest
extends com.google.protobuf.GeneratedMessage
implements PatchJobs.ExecutePatchJobRequestOrBuilder
A request message to initiate patching across Compute Engine instances.Protobuf type
google.cloud.osconfig.v1beta.ExecutePatchJobRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA request message to initiate patching across Compute Engine instances.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDescription of the patch job.com.google.protobuf.ByteStringDescription of the patch job.static final com.google.protobuf.Descriptors.DescriptorDisplay name for this patch job.com.google.protobuf.ByteStringDisplay name for this patch job.booleanIf this patch is a dry-run only, instances are contacted but will do nothing.com.google.protobuf.DurationDuration of the patch job.com.google.protobuf.DurationOrBuilderDuration of the patch job.Required.Required.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<PatchJobs.ExecutePatchJobRequest>Patch configuration being applied.Patch configuration being applied.Rollout strategy of the patch job.Rollout strategy of the patch job.intbooleanDuration of the patch job.inthashCode()booleanRequired.booleanPatch configuration being applied.booleanRollout strategy of the patch job.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PatchJobs.ExecutePatchJobRequest prototype) protected PatchJobs.ExecutePatchJobRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PatchJobs.ExecutePatchJobRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
INSTANCE_FILTER_FIELD_NUMBER
public static final int INSTANCE_FILTER_FIELD_NUMBER- See Also:
-
PATCH_CONFIG_FIELD_NUMBER
public static final int PATCH_CONFIG_FIELD_NUMBER- See Also:
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER- See Also:
-
DRY_RUN_FIELD_NUMBER
public static final int DRY_RUN_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
ROLLOUT_FIELD_NUMBER
public static final int ROLLOUT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getParent
Required. The project in which to run this patch in the form `projects/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParentin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The project in which to run this patch in the form `projects/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParentBytesin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The bytes for parent.
-
getDescription
Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;- Specified by:
getDescriptionin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the patch job. Length of the description is limited to 1024 characters.
string description = 2;- Specified by:
getDescriptionBytesin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The bytes for description.
-
hasInstanceFilter
public boolean hasInstanceFilter()Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasInstanceFilterin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- Whether the instanceFilter field is set.
-
getInstanceFilter
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceFilterin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The instanceFilter.
-
getInstanceFilterOrBuilder
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
.google.cloud.osconfig.v1beta.PatchInstanceFilter instance_filter = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceFilterOrBuilderin interfacePatchJobs.ExecutePatchJobRequestOrBuilder
-
hasPatchConfig
public boolean hasPatchConfig()Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;- Specified by:
hasPatchConfigin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- Whether the patchConfig field is set.
-
getPatchConfig
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;- Specified by:
getPatchConfigin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The patchConfig.
-
getPatchConfigOrBuilder
Patch configuration being applied. If omitted, instances are patched using the default configurations.
.google.cloud.osconfig.v1beta.PatchConfig patch_config = 4;- Specified by:
getPatchConfigOrBuilderin interfacePatchJobs.ExecutePatchJobRequestOrBuilder
-
hasDuration
public boolean hasDuration()Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;- Specified by:
hasDurationin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;- Specified by:
getDurationin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The duration.
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Duration of the patch job. After the duration ends, the patch job times out.
.google.protobuf.Duration duration = 5;- Specified by:
getDurationOrBuilderin interfacePatchJobs.ExecutePatchJobRequestOrBuilder
-
getDryRun
public boolean getDryRun()If this patch is a dry-run only, instances are contacted but will do nothing.
bool dry_run = 6;- Specified by:
getDryRunin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The dryRun.
-
getDisplayName
Display name for this patch job. This does not have to be unique.
string display_name = 8;- Specified by:
getDisplayNamein interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Display name for this patch job. This does not have to be unique.
string display_name = 8;- Specified by:
getDisplayNameBytesin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The bytes for displayName.
-
hasRollout
public boolean hasRollout()Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 9;- Specified by:
hasRolloutin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- Whether the rollout field is set.
-
getRollout
Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 9;- Specified by:
getRolloutin interfacePatchJobs.ExecutePatchJobRequestOrBuilder- Returns:
- The rollout.
-
getRolloutOrBuilder
Rollout strategy of the patch job.
.google.cloud.osconfig.v1beta.PatchRollout rollout = 9;- Specified by:
getRolloutOrBuilderin interfacePatchJobs.ExecutePatchJobRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PatchJobs.ExecutePatchJobRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PatchJobs.ExecutePatchJobRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PatchJobs.ExecutePatchJobRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static PatchJobs.ExecutePatchJobRequest.Builder newBuilder(PatchJobs.ExecutePatchJobRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchJobs.ExecutePatchJobRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-