Class Policy (0.1.2)

API documentation for orgpolicy.v1.orgpolicy_pb2.Policy class.

Classes

BooleanPolicy

API documentation for orgpolicy.v1.orgpolicy_pb2.Policy.BooleanPolicy class.

ListPolicy

API documentation for orgpolicy.v1.orgpolicy_pb2.Policy.ListPolicy class.

RestoreDefault

API documentation for orgpolicy.v1.orgpolicy_pb2.Policy.RestoreDefault class.

Methods

ByteSize

Returns the size of the message in bytes.

Clear

Clears the message.

ClearExtension

Clears a message field.

ClearField

Clears a message field.

CopyFrom

Copies a protocol message into the current message.

DiscardUnknownFields

Discards the unknown fields.

FindInitializationErrors

Finds unset required fields.

FromString

Creates new method instance from given serialized data.

HasExtension

Checks if a message field is set.

HasField

Checks if a message field is set.

IsInitialized

Checks if all required fields of a protocol message are set.

ListFields

Lists all set fields of a message.

MergeFrom

Merges a protocol message into the current message.

MergeFromString

Merges a serialized message into the current message.

ParseFromString

Parses a serialized message into the current message.

RegisterExtension

Registers an extension with the current message.

SerializePartialToString

Serializes the message to a string, even if it isn't initialized.

SerializeToString

Serializes the message to a string, only for initialized messages.

SetInParent

Sets the has bit of the given field in its parent message.

UnknownFields

Parse unknown field set

WhichOneof

Returns the name of the field set inside a oneof, or None if no field is set.

__getstate__

__getstate__()

Support the pickle protocol.

__setstate__

__setstate__(state)

Support the pickle protocol.