Class OSPolicyResourceConfigStep (2.37.0)

public final class OSPolicyResourceConfigStep extends GeneratedMessageV3 implements OSPolicyResourceConfigStepOrBuilder

Step performed by the OS Config agent for configuring an OSPolicyResource to its desired state.

Protobuf type google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep

Static Fields

ERROR_MESSAGE_FIELD_NUMBER (deprecated)

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

OUTCOME_FIELD_NUMBER (deprecated)

public static final int OUTCOME_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER (deprecated)

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance() (deprecated)

public static OSPolicyResourceConfigStep getDefaultInstance()
Returns
TypeDescription
OSPolicyResourceConfigStep

getDescriptor() (deprecated)

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder() (deprecated)

public static OSPolicyResourceConfigStep.Builder newBuilder()
Returns
TypeDescription
OSPolicyResourceConfigStep.Builder

newBuilder(OSPolicyResourceConfigStep prototype) (deprecated)

public static OSPolicyResourceConfigStep.Builder newBuilder(OSPolicyResourceConfigStep prototype)
Parameter
NameDescription
prototypeOSPolicyResourceConfigStep
Returns
TypeDescription
OSPolicyResourceConfigStep.Builder

parseDelimitedFrom(InputStream input) (deprecated)

public static OSPolicyResourceConfigStep parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

public static OSPolicyResourceConfigStep parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
IOException

parseFrom(byte[] data) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)

public static OSPolicyResourceConfigStep parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceConfigStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parser() (deprecated)

public static Parser<OSPolicyResourceConfigStep> parser()
Returns
TypeDescription
Parser<OSPolicyResourceConfigStep>

Methods

equals(Object obj) (deprecated)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType() (deprecated)

public OSPolicyResourceConfigStep getDefaultInstanceForType()
Returns
TypeDescription
OSPolicyResourceConfigStep

getErrorMessage() (deprecated)

public String getErrorMessage()

An error message recorded during the execution of this step. Only populated when outcome is FAILED.

string error_message = 3;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes() (deprecated)

public ByteString getErrorMessageBytes()

An error message recorded during the execution of this step. Only populated when outcome is FAILED.

string error_message = 3;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

getOutcome() (deprecated)

public OSPolicyResourceConfigStep.Outcome getOutcome()

Outcome of the configuration step.

.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2;

Returns
TypeDescription
OSPolicyResourceConfigStep.Outcome

The outcome.

getOutcomeValue() (deprecated)

public int getOutcomeValue()

Outcome of the configuration step.

.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for outcome.

getParserForType() (deprecated)

public Parser<OSPolicyResourceConfigStep> getParserForType()
Returns
TypeDescription
Parser<OSPolicyResourceConfigStep>
Overrides

getSerializedSize() (deprecated)

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType() (deprecated)

public OSPolicyResourceConfigStep.Type getType()

Configuration step type.

.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1;

Returns
TypeDescription
OSPolicyResourceConfigStep.Type

The type.

getTypeValue() (deprecated)

public int getTypeValue()

Configuration step type.

.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hashCode() (deprecated)

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable() (deprecated)

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized() (deprecated)

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType() (deprecated)

public OSPolicyResourceConfigStep.Builder newBuilderForType()
Returns
TypeDescription
OSPolicyResourceConfigStep.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)

protected OSPolicyResourceConfigStep.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OSPolicyResourceConfigStep.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder() (deprecated)

public OSPolicyResourceConfigStep.Builder toBuilder()
Returns
TypeDescription
OSPolicyResourceConfigStep.Builder

writeTo(CodedOutputStream output) (deprecated)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException