Class PolicyDelta (1.45.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
Type Description
int

BINDING_DELTAS_FIELD_NUMBER

public static final int BINDING_DELTAS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PolicyDelta getDefaultInstance()
Returns
Type Description
PolicyDelta

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PolicyDelta.Builder newBuilder()
Returns
Type Description
PolicyDelta.Builder

newBuilder(PolicyDelta prototype)

public static PolicyDelta.Builder newBuilder(PolicyDelta prototype)
Parameter
Name Description
prototype PolicyDelta
Returns
Type Description
PolicyDelta.Builder

parseDelimitedFrom(InputStream input)

public static PolicyDelta parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PolicyDelta
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyDelta
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PolicyDelta parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PolicyDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PolicyDelta parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PolicyDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PolicyDelta parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PolicyDelta
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyDelta
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PolicyDelta parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PolicyDelta
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyDelta
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PolicyDelta parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PolicyDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PolicyDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyDelta
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PolicyDelta> parser()
Returns
Type Description
Parser<PolicyDelta>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Name Description
index int
Returns
Type Description
AuditConfigDelta

getAuditConfigDeltasCount()

public int getAuditConfigDeltasCount()

The delta for AuditConfigs between two policies.

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

Returns
Type Description
int

getAuditConfigDeltasList()

public List<AuditConfigDelta> getAuditConfigDeltasList()

The delta for AuditConfigs between two policies.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
AuditConfigDeltaOrBuilder

getAuditConfigDeltasOrBuilderList()

public List<? extends AuditConfigDeltaOrBuilder> getAuditConfigDeltasOrBuilderList()

The delta for AuditConfigs between two policies.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
BindingDelta

getBindingDeltasCount()

public int getBindingDeltasCount()

The delta for Bindings between two policies.

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

Returns
Type Description
int

getBindingDeltasList()

public List<BindingDelta> getBindingDeltasList()

The delta for Bindings between two policies.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
BindingDeltaOrBuilder

getBindingDeltasOrBuilderList()

public List<? extends BindingDeltaOrBuilder> getBindingDeltasOrBuilderList()

The delta for Bindings between two policies.

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

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

getDefaultInstanceForType()

public PolicyDelta getDefaultInstanceForType()
Returns
Type Description
PolicyDelta

getParserForType()

public Parser<PolicyDelta> getParserForType()
Returns
Type Description
Parser<PolicyDelta>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PolicyDelta.Builder newBuilderForType()
Returns
Type Description
PolicyDelta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PolicyDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PolicyDelta.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PolicyDelta.Builder toBuilder()
Returns
Type Description
PolicyDelta.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException