- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class OSPolicyResourceConfigStep.Builder extends GeneratedMessageV3.Builder<OSPolicyResourceConfigStep.Builder> implements OSPolicyResourceConfigStepOrBuilder
Step performed by the OS Config agent for configuring an OSPolicyResource
to its desired state.
Protobuf type google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSPolicyResourceConfigStep.BuilderImplements
OSPolicyResourceConfigStepOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyResourceConfigStep.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
build()
public OSPolicyResourceConfigStep build()
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep |
buildPartial()
public OSPolicyResourceConfigStep buildPartial()
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep |
clear()
public OSPolicyResourceConfigStep.Builder clear()
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
clearErrorMessage()
public OSPolicyResourceConfigStep.Builder clearErrorMessage()
An error message recorded during the execution of this step. Only populated when outcome is FAILED.
string error_message = 3;
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OSPolicyResourceConfigStep.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicyResourceConfigStep.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
clearOutcome()
public OSPolicyResourceConfigStep.Builder clearOutcome()
Outcome of the configuration step.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2;
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
clearType()
public OSPolicyResourceConfigStep.Builder clearType()
Configuration step type.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1;
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
clone()
public OSPolicyResourceConfigStep.Builder clone()
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
getDefaultInstanceForType()
public OSPolicyResourceConfigStep getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Outcome |
The outcome. |
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. |
getType()
public OSPolicyResourceConfigStep.Type getType()
Configuration step type.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1;
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Type |
The type. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OSPolicyResourceConfigStep other)
public OSPolicyResourceConfigStep.Builder mergeFrom(OSPolicyResourceConfigStep other)
Parameter | |
---|---|
Name | Description |
other |
OSPolicyResourceConfigStep |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicyResourceConfigStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OSPolicyResourceConfigStep.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyResourceConfigStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
setErrorMessage(String value)
public OSPolicyResourceConfigStep.Builder setErrorMessage(String value)
An error message recorded during the execution of this step. Only populated when outcome is FAILED.
string error_message = 3;
Parameter | |
---|---|
Name | Description |
value |
String The errorMessage to set. |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
setErrorMessageBytes(ByteString value)
public OSPolicyResourceConfigStep.Builder setErrorMessageBytes(ByteString value)
An error message recorded during the execution of this step. Only populated when outcome is FAILED.
string error_message = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for errorMessage to set. |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyResourceConfigStep.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
setOutcome(OSPolicyResourceConfigStep.Outcome value)
public OSPolicyResourceConfigStep.Builder setOutcome(OSPolicyResourceConfigStep.Outcome value)
Outcome of the configuration step.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2;
Parameter | |
---|---|
Name | Description |
value |
OSPolicyResourceConfigStep.Outcome The outcome to set. |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
setOutcomeValue(int value)
public OSPolicyResourceConfigStep.Builder setOutcomeValue(int value)
Outcome of the configuration step.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Outcome outcome = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for outcome to set. |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicyResourceConfigStep.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
setType(OSPolicyResourceConfigStep.Type value)
public OSPolicyResourceConfigStep.Builder setType(OSPolicyResourceConfigStep.Type value)
Configuration step type.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1;
Parameter | |
---|---|
Name | Description |
value |
OSPolicyResourceConfigStep.Type The type to set. |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
setTypeValue(int value)
public OSPolicyResourceConfigStep.Builder setTypeValue(int value)
Configuration step type.
.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep.Type type = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyResourceConfigStep.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyResourceConfigStep.Builder |