public static final class OsConstraint.Builder extends GeneratedMessageV3.Builder<OsConstraint.Builder> implements OsConstraintOrBuilder
A restriction on the OS type and version of devices making requests.Protobuf type
google.identity.accesscontextmanager.v1.OsConstraintgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<OsConstraint.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic OsConstraint build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic OsConstraint buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic OsConstraint.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<OsConstraint.Builder>public OsConstraint.Builder mergeFrom(OsConstraint other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<OsConstraint.Builder>public OsConstraint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<OsConstraint.Builder>IOExceptionpublic int getOsTypeValue()
Required. The allowed OS type.
.google.identity.accesscontextmanager.type.OsType os_type = 1;getOsTypeValue in interface OsConstraintOrBuilderpublic OsConstraint.Builder setOsTypeValue(int value)
Required. The allowed OS type.
.google.identity.accesscontextmanager.type.OsType os_type = 1;value - The enum numeric value on the wire for osType to set.public OsType getOsType()
Required. The allowed OS type.
.google.identity.accesscontextmanager.type.OsType os_type = 1;getOsType in interface OsConstraintOrBuilderpublic OsConstraint.Builder setOsType(OsType value)
Required. The allowed OS type.
.google.identity.accesscontextmanager.type.OsType os_type = 1;value - The osType to set.public OsConstraint.Builder clearOsType()
Required. The allowed OS type.
.google.identity.accesscontextmanager.type.OsType os_type = 1;public String getMinimumVersion()
The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`.
string minimum_version = 2;getMinimumVersion in interface OsConstraintOrBuilderpublic ByteString getMinimumVersionBytes()
The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`.
string minimum_version = 2;getMinimumVersionBytes in interface OsConstraintOrBuilderpublic OsConstraint.Builder setMinimumVersion(String value)
The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`.
string minimum_version = 2;value - The minimumVersion to set.public OsConstraint.Builder clearMinimumVersion()
The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`.
string minimum_version = 2;public OsConstraint.Builder setMinimumVersionBytes(ByteString value)
The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`.
string minimum_version = 2;value - The bytes for minimumVersion to set.public boolean getRequireVerifiedChromeOs()
Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.
bool require_verified_chrome_os = 3;getRequireVerifiedChromeOs in interface OsConstraintOrBuilderpublic OsConstraint.Builder setRequireVerifiedChromeOs(boolean value)
Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.
bool require_verified_chrome_os = 3;value - The requireVerifiedChromeOs to set.public OsConstraint.Builder clearRequireVerifiedChromeOs()
Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.
bool require_verified_chrome_os = 3;public final OsConstraint.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<OsConstraint.Builder>public final OsConstraint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<OsConstraint.Builder>Copyright © 2021 Google LLC. All rights reserved.