Class PolicyDelta (1.23.0)

public final class PolicyDelta extends GeneratedMessageV3 implements PolicyDeltaOrBuilder

The difference delta between two policies.

Protobuf type google.iam.v1.PolicyDelta

Static Fields

AUDIT_CONFIG_DELTAS_FIELD_NUMBER

public static final int AUDIT_CONFIG_DELTAS_FIELD_NUMBER
Field Value
TypeDescription
int

BINDING_DELTAS_FIELD_NUMBER

public static final int BINDING_DELTAS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PolicyDelta getDefaultInstance()
Returns
TypeDescription
PolicyDelta

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PolicyDelta.Builder newBuilder()
Returns
TypeDescription
PolicyDelta.Builder

newBuilder(PolicyDelta prototype)

public static PolicyDelta.Builder newBuilder(PolicyDelta prototype)
Parameter
NameDescription
prototypePolicyDelta
Returns
TypeDescription
PolicyDelta.Builder

parseDelimitedFrom(InputStream input)

public static PolicyDelta parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PolicyDelta parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PolicyDelta parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PolicyDelta parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PolicyDelta parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PolicyDelta parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PolicyDelta> parser()
Returns
TypeDescription
Parser<PolicyDelta>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAuditConfigDeltas(int index)

public AuditConfigDelta getAuditConfigDeltas(int index)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AuditConfigDelta

getAuditConfigDeltasCount()

public int getAuditConfigDeltasCount()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
TypeDescription
int

getAuditConfigDeltasList()

public List<AuditConfigDelta> getAuditConfigDeltasList()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
TypeDescription
List<AuditConfigDelta>

getAuditConfigDeltasOrBuilder(int index)

public AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AuditConfigDeltaOrBuilder

getAuditConfigDeltasOrBuilderList()

public List<? extends AuditConfigDeltaOrBuilder> getAuditConfigDeltasOrBuilderList()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
TypeDescription
List<? extends com.google.iam.v1.AuditConfigDeltaOrBuilder>

getBindingDeltas(int index)

public BindingDelta getBindingDeltas(int index)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BindingDelta

getBindingDeltasCount()

public int getBindingDeltasCount()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
TypeDescription
int

getBindingDeltasList()

public List<BindingDelta> getBindingDeltasList()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
TypeDescription
List<BindingDelta>

getBindingDeltasOrBuilder(int index)

public BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BindingDeltaOrBuilder

getBindingDeltasOrBuilderList()

public List<? extends BindingDeltaOrBuilder> getBindingDeltasOrBuilderList()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
TypeDescription
List<? extends com.google.iam.v1.BindingDeltaOrBuilder>

getDefaultInstanceForType()

public PolicyDelta getDefaultInstanceForType()
Returns
TypeDescription
PolicyDelta

getParserForType()

public Parser<PolicyDelta> getParserForType()
Returns
TypeDescription
Parser<PolicyDelta>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PolicyDelta.Builder newBuilderForType()
Returns
TypeDescription
PolicyDelta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PolicyDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PolicyDelta.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PolicyDelta.Builder toBuilder()
Returns
TypeDescription
PolicyDelta.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException