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 |
---|
Type | Description |
int | |
OUTCOME_FIELD_NUMBER
public static final int OUTCOME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static OSPolicyResourceConfigStep getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OSPolicyResourceConfigStep.Builder newBuilder()
newBuilder(OSPolicyResourceConfigStep prototype)
public static OSPolicyResourceConfigStep.Builder newBuilder(OSPolicyResourceConfigStep prototype)
public static OSPolicyResourceConfigStep parseDelimitedFrom(InputStream input)
public static OSPolicyResourceConfigStep parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OSPolicyResourceConfigStep parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OSPolicyResourceConfigStep parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OSPolicyResourceConfigStep parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OSPolicyResourceConfigStep parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OSPolicyResourceConfigStep parseFrom(CodedInputStream input)
public static OSPolicyResourceConfigStep parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OSPolicyResourceConfigStep parseFrom(InputStream input)
public static OSPolicyResourceConfigStep parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OSPolicyResourceConfigStep parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OSPolicyResourceConfigStep parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OSPolicyResourceConfigStep> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public OSPolicyResourceConfigStep getDefaultInstanceForType()
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 |
---|
Type | Description |
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 |
---|
Type | Description |
ByteString | The bytes for errorMessage.
|
getOutcome()
public OSPolicyResourceConfigStep.Outcome getOutcome()
Outcome of the configuration step.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2;
getOutcomeValue()
public int getOutcomeValue()
Outcome of the configuration step.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for outcome.
|
getParserForType()
public Parser<OSPolicyResourceConfigStep> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getType()
public OSPolicyResourceConfigStep.Type getType()
Configuration step type.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1;
getTypeValue()
public int getTypeValue()
Configuration step type.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OSPolicyResourceConfigStep.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OSPolicyResourceConfigStep.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public OSPolicyResourceConfigStep.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides