- 2.55.0 (latest)
- 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 OSPolicy.OSFilter.Builder extends GeneratedMessageV3.Builder<OSPolicy.OSFilter.Builder> implements OSPolicy.OSFilterOrBuilder
Filtering criteria to select VMs based on OS details.
Protobuf type google.cloud.osconfig.v1alpha.OSPolicy.OSFilter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSPolicy.OSFilter.BuilderImplements
OSPolicy.OSFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicy.OSFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OSPolicy.OSFilter.Builder |
build()
public OSPolicy.OSFilter build()
Type | Description |
OSPolicy.OSFilter |
buildPartial()
public OSPolicy.OSFilter buildPartial()
Type | Description |
OSPolicy.OSFilter |
clear()
public OSPolicy.OSFilter.Builder clear()
Type | Description |
OSPolicy.OSFilter.Builder |
clearField(Descriptors.FieldDescriptor field)
public OSPolicy.OSFilter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
OSPolicy.OSFilter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicy.OSFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
OSPolicy.OSFilter.Builder |
clearOsShortName()
public OSPolicy.OSFilter.Builder clearOsShortName()
This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
string os_short_name = 1;
Type | Description |
OSPolicy.OSFilter.Builder | This builder for chaining. |
clearOsVersion()
public OSPolicy.OSFilter.Builder clearOsVersion()
This value should match the version emitted by the OS inventory
agent.
Prefix matches are supported if asterisk() is provided as the
last character. For example, to match all versions with a major
version of 7
, specify the following value for this field 7.
string os_version = 2;
Type | Description |
OSPolicy.OSFilter.Builder | This builder for chaining. |
clone()
public OSPolicy.OSFilter.Builder clone()
Type | Description |
OSPolicy.OSFilter.Builder |
getDefaultInstanceForType()
public OSPolicy.OSFilter getDefaultInstanceForType()
Type | Description |
OSPolicy.OSFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getOsShortName()
public String getOsShortName()
This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
string os_short_name = 1;
Type | Description |
String | The osShortName. |
getOsShortNameBytes()
public ByteString getOsShortNameBytes()
This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
string os_short_name = 1;
Type | Description |
ByteString | The bytes for osShortName. |
getOsVersion()
public String getOsVersion()
This value should match the version emitted by the OS inventory
agent.
Prefix matches are supported if asterisk() is provided as the
last character. For example, to match all versions with a major
version of 7
, specify the following value for this field 7.
string os_version = 2;
Type | Description |
String | The osVersion. |
getOsVersionBytes()
public ByteString getOsVersionBytes()
This value should match the version emitted by the OS inventory
agent.
Prefix matches are supported if asterisk() is provided as the
last character. For example, to match all versions with a major
version of 7
, specify the following value for this field 7.
string os_version = 2;
Type | Description |
ByteString | The bytes for osVersion. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(OSPolicy.OSFilter other)
public OSPolicy.OSFilter.Builder mergeFrom(OSPolicy.OSFilter other)
Name | Description |
other | OSPolicy.OSFilter |
Type | Description |
OSPolicy.OSFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicy.OSFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OSPolicy.OSFilter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public OSPolicy.OSFilter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
OSPolicy.OSFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicy.OSFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OSPolicy.OSFilter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicy.OSFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OSPolicy.OSFilter.Builder |
setOsShortName(String value)
public OSPolicy.OSFilter.Builder setOsShortName(String value)
This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
string os_short_name = 1;
Name | Description |
value | String The osShortName to set. |
Type | Description |
OSPolicy.OSFilter.Builder | This builder for chaining. |
setOsShortNameBytes(ByteString value)
public OSPolicy.OSFilter.Builder setOsShortNameBytes(ByteString value)
This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
string os_short_name = 1;
Name | Description |
value | ByteString The bytes for osShortName to set. |
Type | Description |
OSPolicy.OSFilter.Builder | This builder for chaining. |
setOsVersion(String value)
public OSPolicy.OSFilter.Builder setOsVersion(String value)
This value should match the version emitted by the OS inventory
agent.
Prefix matches are supported if asterisk() is provided as the
last character. For example, to match all versions with a major
version of 7
, specify the following value for this field 7.
string os_version = 2;
Name | Description |
value | String The osVersion to set. |
Type | Description |
OSPolicy.OSFilter.Builder | This builder for chaining. |
setOsVersionBytes(ByteString value)
public OSPolicy.OSFilter.Builder setOsVersionBytes(ByteString value)
This value should match the version emitted by the OS inventory
agent.
Prefix matches are supported if asterisk() is provided as the
last character. For example, to match all versions with a major
version of 7
, specify the following value for this field 7.
string os_version = 2;
Name | Description |
value | ByteString The bytes for osVersion to set. |
Type | Description |
OSPolicy.OSFilter.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicy.OSFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
OSPolicy.OSFilter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicy.OSFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OSPolicy.OSFilter.Builder |