Class BindingDelta (1.21.0)

public final class BindingDelta extends GeneratedMessageV3 implements BindingDeltaOrBuilder

One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.

Protobuf type google.iam.v1.BindingDelta

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

CONDITION_FIELD_NUMBER

public static final int CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

MEMBER_FIELD_NUMBER

public static final int MEMBER_FIELD_NUMBER
Field Value
TypeDescription
int

ROLE_FIELD_NUMBER

public static final int ROLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BindingDelta getDefaultInstance()
Returns
TypeDescription
BindingDelta

getDescriptor()

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

newBuilder()

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

newBuilder(BindingDelta prototype)

public static BindingDelta.Builder newBuilder(BindingDelta prototype)
Parameter
NameDescription
prototypeBindingDelta
Returns
TypeDescription
BindingDelta.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public BindingDelta.Action getAction()

The action that was performed on a Binding. Required

.google.iam.v1.BindingDelta.Action action = 1;

Returns
TypeDescription
BindingDelta.Action

The action.

getActionValue()

public int getActionValue()

The action that was performed on a Binding. Required

.google.iam.v1.BindingDelta.Action action = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for action.

getCondition()

public Expr getCondition()

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Returns
TypeDescription
com.google.type.Expr

The condition.

getConditionOrBuilder()

public ExprOrBuilder getConditionOrBuilder()

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Returns
TypeDescription
com.google.type.ExprOrBuilder

getDefaultInstanceForType()

public BindingDelta getDefaultInstanceForType()
Returns
TypeDescription
BindingDelta

getMember()

public String getMember()

A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required

string member = 3;

Returns
TypeDescription
String

The member.

getMemberBytes()

public ByteString getMemberBytes()

A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required

string member = 3;

Returns
TypeDescription
ByteString

The bytes for member.

getParserForType()

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

getRole()

public String getRole()

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner. Required

string role = 2;

Returns
TypeDescription
String

The role.

getRoleBytes()

public ByteString getRoleBytes()

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner. Required

string role = 2;

Returns
TypeDescription
ByteString

The bytes for role.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCondition()

public boolean hasCondition()

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Returns
TypeDescription
boolean

Whether the condition field is set.

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 BindingDelta.Builder newBuilderForType()
Returns
TypeDescription
BindingDelta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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