Class OSPolicyResourceConfigStep (2.9.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

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

OUTCOME_FIELD_NUMBER

public static final int OUTCOME_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OSPolicyResourceConfigStep getDefaultInstance()
Returns
TypeDescription
OSPolicyResourceConfigStep

getDescriptor()

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

newBuilder()

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

newBuilder(OSPolicyResourceConfigStep prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OSPolicyResourceConfigStep getDefaultInstanceForType()
Returns
TypeDescription
OSPolicyResourceConfigStep

getErrorMessage()

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()

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()

public OSPolicyResourceConfigStep.Outcome getOutcome()

Outcome of the configuration step.

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

Returns
TypeDescription
OSPolicyResourceConfigStep.Outcome

The outcome.

getOutcomeValue()

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()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public OSPolicyResourceConfigStep.Type getType()

Configuration step type.

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

Returns
TypeDescription
OSPolicyResourceConfigStep.Type

The type.

getTypeValue()

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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