- 2.50.0 (latest)
- 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 OSPolicy.Resource.ExecResource.Exec.Builder extends GeneratedMessageV3.Builder<OSPolicy.Resource.ExecResource.Exec.Builder> implements OSPolicy.Resource.ExecResource.ExecOrBuilder
A file or script to execute.
Protobuf type google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSPolicy.Resource.ExecResource.Exec.BuilderImplements
OSPolicy.Resource.ExecResource.ExecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllArgs(Iterable<String> values)
public OSPolicy.Resource.ExecResource.Exec.Builder addAllArgs(Iterable<String> values)
Optional arguments to pass to the source during execution.
repeated string args = 3;
Name | Description |
values | Iterable<String> The args to add. |
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder | This builder for chaining. |
addArgs(String value)
public OSPolicy.Resource.ExecResource.Exec.Builder addArgs(String value)
Optional arguments to pass to the source during execution.
repeated string args = 3;
Name | Description |
value | String The args to add. |
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder | This builder for chaining. |
addArgsBytes(ByteString value)
public OSPolicy.Resource.ExecResource.Exec.Builder addArgsBytes(ByteString value)
Optional arguments to pass to the source during execution.
repeated string args = 3;
Name | Description |
value | ByteString The bytes of the args to add. |
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicy.Resource.ExecResource.Exec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder |
build()
public OSPolicy.Resource.ExecResource.Exec build()
Type | Description |
OSPolicy.Resource.ExecResource.Exec |
buildPartial()
public OSPolicy.Resource.ExecResource.Exec buildPartial()
Type | Description |
OSPolicy.Resource.ExecResource.Exec |
clear()
public OSPolicy.Resource.ExecResource.Exec.Builder clear()
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder |
clearArgs()
public OSPolicy.Resource.ExecResource.Exec.Builder clearArgs()
Optional arguments to pass to the source during execution.
repeated string args = 3;
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OSPolicy.Resource.ExecResource.Exec.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder |
clearFile()
public OSPolicy.Resource.ExecResource.Exec.Builder clearFile()
A remote or local file.
.google.cloud.osconfig.v1.OSPolicy.Resource.File file = 1;
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder |
clearInterpreter()
public OSPolicy.Resource.ExecResource.Exec.Builder clearInterpreter()
Required. The script interpreter to use.
.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter interpreter = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
OSPolicy.Resource.ExecResource.Exec.Builder | This builder for chaining. |