public final class ReplaceAccessLevelsRequest extends GeneratedMessageV3 implements ReplaceAccessLevelsRequestOrBuilder
A request to replace all existing Access Levels in an Access Policy with
the Access Levels provided. This is done atomically.
Protobuf type google.identity.accesscontextmanager.v1.ReplaceAccessLevelsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACCESS_LEVELS_FIELD_NUMBER
public static final int ACCESS_LEVELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReplaceAccessLevelsRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReplaceAccessLevelsRequest.Builder newBuilder()
newBuilder(ReplaceAccessLevelsRequest prototype)
public static ReplaceAccessLevelsRequest.Builder newBuilder(ReplaceAccessLevelsRequest prototype)
parseDelimitedFrom(InputStream input)
public static ReplaceAccessLevelsRequest parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplaceAccessLevelsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReplaceAccessLevelsRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReplaceAccessLevelsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReplaceAccessLevelsRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplaceAccessLevelsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ReplaceAccessLevelsRequest parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplaceAccessLevelsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ReplaceAccessLevelsRequest parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplaceAccessLevelsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReplaceAccessLevelsRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReplaceAccessLevelsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReplaceAccessLevelsRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAccessLevels(int index)
public AccessLevel getAccessLevels(int index)
Required. The desired [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] that should
replace all existing [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getAccessLevelsCount()
public int getAccessLevelsCount()
Required. The desired [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] that should
replace all existing [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getAccessLevelsList()
public List<AccessLevel> getAccessLevelsList()
Required. The desired [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] that should
replace all existing [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 2 [(.google.api.field_behavior) = REQUIRED];
getAccessLevelsOrBuilder(int index)
public AccessLevelOrBuilder getAccessLevelsOrBuilder(int index)
Required. The desired [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] that should
replace all existing [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getAccessLevelsOrBuilderList()
public List<? extends AccessLevelOrBuilder> getAccessLevelsOrBuilderList()
Required. The desired [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] that should
replace all existing [Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> |
|
getDefaultInstanceForType()
public ReplaceAccessLevelsRequest getDefaultInstanceForType()
getEtag()
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] that this
replace operation is to be performed on. If, at the time of replace, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the replace operation will not be performed
and the call will fail. This field is not required. If etag is not
provided, the operation will be performed as if a valid etag is provided.
string etag = 4;
Returns |
Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] that this
replace operation is to be performed on. If, at the time of replace, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the replace operation will not be performed
and the call will fail. This field is not required. If etag is not
provided, the operation will be performed as if a valid etag is provided.
string etag = 4;
Returns |
Type |
Description |
ByteString |
The bytes for etag.
|
getParent()
public String getParent()
Required. Resource name for the access policy which owns these
[Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Resource name for the access policy which owns these
[Access Levels]
[google.identity.accesscontextmanager.v1.AccessLevel].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getParserForType()
public Parser<ReplaceAccessLevelsRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReplaceAccessLevelsRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReplaceAccessLevelsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReplaceAccessLevelsRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides