Class ClusterAclPolicyAttachment (0.75.0)

public final class ClusterAclPolicyAttachment extends GeneratedMessage implements ClusterAclPolicyAttachmentOrBuilder

ClusterAclPolicyAttachment stores the ACL policy status for an attached cluster for the revisions successfully applied, under application or failed.

Protobuf type google.cloud.redis.cluster.v1beta1.ClusterAclPolicyAttachment

Static Fields

ACL_POLICY_REVISION_STATUSES_FIELD_NUMBER

public static final int ACL_POLICY_REVISION_STATUSES_FIELD_NUMBER
Field Value
Type Description
int

CLUSTER_FIELD_NUMBER

public static final int CLUSTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClusterAclPolicyAttachment getDefaultInstance()
Returns
Type Description
ClusterAclPolicyAttachment

getDescriptor()

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

newBuilder()

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

newBuilder(ClusterAclPolicyAttachment prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAclPolicyRevisionStatuses(int index)

public AclPolicyRevisionStatus getAclPolicyRevisionStatuses(int index)

Output only. A list of status for various revisions of this ACL policy on the cluster.

repeated .google.cloud.redis.cluster.v1beta1.AclPolicyRevisionStatus acl_policy_revision_statuses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AclPolicyRevisionStatus

getAclPolicyRevisionStatusesCount()

public int getAclPolicyRevisionStatusesCount()

Output only. A list of status for various revisions of this ACL policy on the cluster.

repeated .google.cloud.redis.cluster.v1beta1.AclPolicyRevisionStatus acl_policy_revision_statuses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAclPolicyRevisionStatusesList()

public List<AclPolicyRevisionStatus> getAclPolicyRevisionStatusesList()

Output only. A list of status for various revisions of this ACL policy on the cluster.

repeated .google.cloud.redis.cluster.v1beta1.AclPolicyRevisionStatus acl_policy_revision_statuses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AclPolicyRevisionStatus>

getAclPolicyRevisionStatusesOrBuilder(int index)

public AclPolicyRevisionStatusOrBuilder getAclPolicyRevisionStatusesOrBuilder(int index)

Output only. A list of status for various revisions of this ACL policy on the cluster.

repeated .google.cloud.redis.cluster.v1beta1.AclPolicyRevisionStatus acl_policy_revision_statuses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AclPolicyRevisionStatusOrBuilder

getAclPolicyRevisionStatusesOrBuilderList()

public List<? extends AclPolicyRevisionStatusOrBuilder> getAclPolicyRevisionStatusesOrBuilderList()

Output only. A list of status for various revisions of this ACL policy on the cluster.

repeated .google.cloud.redis.cluster.v1beta1.AclPolicyRevisionStatus acl_policy_revision_statuses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.redis.cluster.v1beta1.AclPolicyRevisionStatusOrBuilder>

getCluster()

public String getCluster()

Output only. The resource name of the attached Cluster. Format: "projects/{project}/locations/{location}/clusters/{cluster}"

string cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cluster.

getClusterBytes()

public ByteString getClusterBytes()

Output only. The resource name of the attached Cluster. Format: "projects/{project}/locations/{location}/clusters/{cluster}"

string cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public ClusterAclPolicyAttachment getDefaultInstanceForType()
Returns
Type Description
ClusterAclPolicyAttachment

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ClusterAclPolicyAttachment.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClusterAclPolicyAttachment.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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