public static final class AclPolicy.Builder extends GeneratedMessage.Builder<AclPolicy.Builder> implements AclPolicyOrBuilderThe ACL policy resource.
Protobuf type google.cloud.redis.cluster.v1.AclPolicy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AclPolicy.BuilderImplements
AclPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllClusterAclPolicyAttachments(Iterable<? extends ClusterAclPolicyAttachment> values)
public AclPolicy.Builder addAllClusterAclPolicyAttachments(Iterable<? extends ClusterAclPolicyAttachment> values)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment> |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addAllRules(Iterable<? extends AclRule> values)
public AclPolicy.Builder addAllRules(Iterable<? extends AclRule> values)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.redis.cluster.v1.AclRule> |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addClusterAclPolicyAttachments(ClusterAclPolicyAttachment value)
public AclPolicy.Builder addClusterAclPolicyAttachments(ClusterAclPolicyAttachment value)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ClusterAclPolicyAttachment |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addClusterAclPolicyAttachments(ClusterAclPolicyAttachment.Builder builderForValue)
public AclPolicy.Builder addClusterAclPolicyAttachments(ClusterAclPolicyAttachment.Builder builderForValue)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ClusterAclPolicyAttachment.Builder |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addClusterAclPolicyAttachments(int index, ClusterAclPolicyAttachment value)
public AclPolicy.Builder addClusterAclPolicyAttachments(int index, ClusterAclPolicyAttachment value)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ClusterAclPolicyAttachment |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addClusterAclPolicyAttachments(int index, ClusterAclPolicyAttachment.Builder builderForValue)
public AclPolicy.Builder addClusterAclPolicyAttachments(int index, ClusterAclPolicyAttachment.Builder builderForValue)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ClusterAclPolicyAttachment.Builder |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addClusterAclPolicyAttachmentsBuilder()
public ClusterAclPolicyAttachment.Builder addClusterAclPolicyAttachmentsBuilder()Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ClusterAclPolicyAttachment.Builder |
|
addClusterAclPolicyAttachmentsBuilder(int index)
public ClusterAclPolicyAttachment.Builder addClusterAclPolicyAttachmentsBuilder(int index)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ClusterAclPolicyAttachment.Builder |
|
addRules(AclRule value)
public AclPolicy.Builder addRules(AclRule value)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AclRule |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addRules(AclRule.Builder builderForValue)
public AclPolicy.Builder addRules(AclRule.Builder builderForValue)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AclRule.Builder |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addRules(int index, AclRule value)
public AclPolicy.Builder addRules(int index, AclRule value)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AclRule |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addRules(int index, AclRule.Builder builderForValue)
public AclPolicy.Builder addRules(int index, AclRule.Builder builderForValue)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AclRule.Builder |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
addRulesBuilder()
public AclRule.Builder addRulesBuilder()Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AclRule.Builder |
|
addRulesBuilder(int index)
public AclRule.Builder addRulesBuilder(int index)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AclRule.Builder |
|
build()
public AclPolicy build()| Returns | |
|---|---|
| Type | Description |
AclPolicy |
|
buildPartial()
public AclPolicy buildPartial()| Returns | |
|---|---|
| Type | Description |
AclPolicy |
|
clear()
public AclPolicy.Builder clear()| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
clearClusterAclPolicyAttachments()
public AclPolicy.Builder clearClusterAclPolicyAttachments()Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
clearCreateTime()
public AclPolicy.Builder clearCreateTime()Output only. The timestamp that the ACL policy was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
clearEtag()
public AclPolicy.Builder clearEtag()Output only. Etag for the ACL policy.
optional string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
clearName()
public AclPolicy.Builder clearName()Identifier. Full resource path of the ACL policy.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
clearRules()
public AclPolicy.Builder clearRules()Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
clearState()
public AclPolicy.Builder clearState()Output only. The state of the ACL policy.
.google.cloud.redis.cluster.v1.AclPolicy.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
clearUpdateTime()
public AclPolicy.Builder clearUpdateTime()Output only. The timestamp that the ACL policy was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
getClusterAclPolicyAttachments(int index)
public ClusterAclPolicyAttachment getClusterAclPolicyAttachments(int index)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ClusterAclPolicyAttachment |
|
getClusterAclPolicyAttachmentsBuilder(int index)
public ClusterAclPolicyAttachment.Builder getClusterAclPolicyAttachmentsBuilder(int index)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ClusterAclPolicyAttachment.Builder |
|
getClusterAclPolicyAttachmentsBuilderList()
public List<ClusterAclPolicyAttachment.Builder> getClusterAclPolicyAttachmentsBuilderList()Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getClusterAclPolicyAttachmentsCount()
public int getClusterAclPolicyAttachmentsCount()Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getClusterAclPolicyAttachmentsList()
public List<ClusterAclPolicyAttachment> getClusterAclPolicyAttachmentsList()Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<ClusterAclPolicyAttachment> |
|
getClusterAclPolicyAttachmentsOrBuilder(int index)
public ClusterAclPolicyAttachmentOrBuilder getClusterAclPolicyAttachmentsOrBuilder(int index)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ClusterAclPolicyAttachmentOrBuilder |
|
getClusterAclPolicyAttachmentsOrBuilderList()
public List<? extends ClusterAclPolicyAttachmentOrBuilder> getClusterAclPolicyAttachmentsOrBuilderList()Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.redis.cluster.v1.ClusterAclPolicyAttachmentOrBuilder> |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The timestamp that the ACL policy was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp that the ACL policy was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp that the ACL policy was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public AclPolicy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AclPolicy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEtag()
public String getEtag()Output only. Etag for the ACL policy.
optional string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()Output only. Etag for the ACL policy.
optional string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getName()
public String getName()Identifier. Full resource path of the ACL policy.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. Full resource path of the ACL policy.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRules(int index)
public AclRule getRules(int index)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AclRule |
|
getRulesBuilder(int index)
public AclRule.Builder getRulesBuilder(int index)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AclRule.Builder |
|
getRulesBuilderList()
public List<AclRule.Builder> getRulesBuilderList()Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRulesCount()
public int getRulesCount()Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRulesList()
public List<AclRule> getRulesList()Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<AclRule> |
|
getRulesOrBuilder(int index)
public AclRuleOrBuilder getRulesOrBuilder(int index)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AclRuleOrBuilder |
|
getRulesOrBuilderList()
public List<? extends AclRuleOrBuilder> getRulesOrBuilderList()Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.redis.cluster.v1.AclRuleOrBuilder> |
|
getState()
public AclPolicy.State getState()Output only. The state of the ACL policy.
.google.cloud.redis.cluster.v1.AclPolicy.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AclPolicy.State |
The state. |
getStateValue()
public int getStateValue()Output only. The state of the ACL policy.
.google.cloud.redis.cluster.v1.AclPolicy.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The timestamp that the ACL policy was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp that the ACL policy was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp that the ACL policy was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. The timestamp that the ACL policy was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasEtag()
public boolean hasEtag()Output only. Etag for the ACL policy.
optional string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the etag field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The timestamp that the ACL policy was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public AclPolicy.Builder mergeCreateTime(Timestamp value)Output only. The timestamp that the ACL policy was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
mergeFrom(AclPolicy other)
public AclPolicy.Builder mergeFrom(AclPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
AclPolicy |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AclPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AclPolicy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
mergeUpdateTime(Timestamp value)
public AclPolicy.Builder mergeUpdateTime(Timestamp value)Output only. The timestamp that the ACL policy was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
removeClusterAclPolicyAttachments(int index)
public AclPolicy.Builder removeClusterAclPolicyAttachments(int index)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
removeRules(int index)
public AclPolicy.Builder removeRules(int index)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
setClusterAclPolicyAttachments(int index, ClusterAclPolicyAttachment value)
public AclPolicy.Builder setClusterAclPolicyAttachments(int index, ClusterAclPolicyAttachment value)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ClusterAclPolicyAttachment |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
setClusterAclPolicyAttachments(int index, ClusterAclPolicyAttachment.Builder builderForValue)
public AclPolicy.Builder setClusterAclPolicyAttachments(int index, ClusterAclPolicyAttachment.Builder builderForValue)Output only. The ACL policy attachment status for each attached cluster.
repeated .google.cloud.redis.cluster.v1.ClusterAclPolicyAttachment cluster_acl_policy_attachments = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ClusterAclPolicyAttachment.Builder |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
setCreateTime(Timestamp value)
public AclPolicy.Builder setCreateTime(Timestamp value)Output only. The timestamp that the ACL policy was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public AclPolicy.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The timestamp that the ACL policy was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
setEtag(String value)
public AclPolicy.Builder setEtag(String value)Output only. Etag for the ACL policy.
optional string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public AclPolicy.Builder setEtagBytes(ByteString value)Output only. Etag for the ACL policy.
optional string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
setName(String value)
public AclPolicy.Builder setName(String value)Identifier. Full resource path of the ACL policy.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AclPolicy.Builder setNameBytes(ByteString value)Identifier. Full resource path of the ACL policy.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
setRules(int index, AclRule value)
public AclPolicy.Builder setRules(int index, AclRule value)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AclRule |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
setRules(int index, AclRule.Builder builderForValue)
public AclPolicy.Builder setRules(int index, AclRule.Builder builderForValue)Required. The ACL rules within the ACL policy.
repeated .google.cloud.redis.cluster.v1.AclRule rules = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AclRule.Builder |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
setState(AclPolicy.State value)
public AclPolicy.Builder setState(AclPolicy.State value)Output only. The state of the ACL policy.
.google.cloud.redis.cluster.v1.AclPolicy.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AclPolicy.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
setStateValue(int value)
public AclPolicy.Builder setStateValue(int value)Output only. The state of the ACL policy.
.google.cloud.redis.cluster.v1.AclPolicy.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public AclPolicy.Builder setUpdateTime(Timestamp value)Output only. The timestamp that the ACL policy was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public AclPolicy.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The timestamp that the ACL policy was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AclPolicy.Builder |
|