Class ReplaceAccessLevelsResponse (1.40.0)

public final class ReplaceAccessLevelsResponse extends GeneratedMessageV3 implements ReplaceAccessLevelsResponseOrBuilder

A response to ReplaceAccessLevelsRequest. This will be put inside of Operation.response field.

Protobuf type google.identity.accesscontextmanager.v1.ReplaceAccessLevelsResponse

Static Fields

ACCESS_LEVELS_FIELD_NUMBER

public static final int ACCESS_LEVELS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReplaceAccessLevelsResponse getDefaultInstance()
Returns
TypeDescription
ReplaceAccessLevelsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ReplaceAccessLevelsResponse prototype)

public static ReplaceAccessLevelsResponse.Builder newBuilder(ReplaceAccessLevelsResponse prototype)
Parameter
NameDescription
prototypeReplaceAccessLevelsResponse
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccessLevels(int index)

public AccessLevel getAccessLevels(int index)

List of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] instances.

repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessLevel

getAccessLevelsCount()

public int getAccessLevelsCount()

List of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] instances.

repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 1;

Returns
TypeDescription
int

getAccessLevelsList()

public List<AccessLevel> getAccessLevelsList()

List of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] instances.

repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 1;

Returns
TypeDescription
List<AccessLevel>

getAccessLevelsOrBuilder(int index)

public AccessLevelOrBuilder getAccessLevelsOrBuilder(int index)

List of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] instances.

repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessLevelOrBuilder

getAccessLevelsOrBuilderList()

public List<? extends AccessLevelOrBuilder> getAccessLevelsOrBuilderList()

List of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] instances.

repeated .google.identity.accesscontextmanager.v1.AccessLevel access_levels = 1;

Returns
TypeDescription
List<? extends com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>

getDefaultInstanceForType()

public ReplaceAccessLevelsResponse getDefaultInstanceForType()
Returns
TypeDescription
ReplaceAccessLevelsResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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