Class ReplaceAccessLevelsResponse.Builder (1.11.0)

public static final class ReplaceAccessLevelsResponse.Builder extends GeneratedMessageV3.Builder<ReplaceAccessLevelsResponse.Builder> implements ReplaceAccessLevelsResponseOrBuilder

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

Protobuf type google.identity.accesscontextmanager.v1.ReplaceAccessLevelsResponse

Static Methods

getDescriptor()

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

Methods

addAccessLevels(AccessLevel value)

public ReplaceAccessLevelsResponse.Builder addAccessLevels(AccessLevel value)

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

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

Parameter
NameDescription
valueAccessLevel
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

addAccessLevels(AccessLevel.Builder builderForValue)

public ReplaceAccessLevelsResponse.Builder addAccessLevels(AccessLevel.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueAccessLevel.Builder
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

addAccessLevels(int index, AccessLevel value)

public ReplaceAccessLevelsResponse.Builder addAccessLevels(int index, AccessLevel value)

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

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

Parameters
NameDescription
indexint
valueAccessLevel
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

addAccessLevels(int index, AccessLevel.Builder builderForValue)

public ReplaceAccessLevelsResponse.Builder addAccessLevels(int index, AccessLevel.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValueAccessLevel.Builder
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

addAccessLevelsBuilder()

public AccessLevel.Builder addAccessLevelsBuilder()

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

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

Returns
TypeDescription
AccessLevel.Builder

addAccessLevelsBuilder(int index)

public AccessLevel.Builder addAccessLevelsBuilder(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.Builder

addAllAccessLevels(Iterable<? extends AccessLevel> values)

public ReplaceAccessLevelsResponse.Builder addAllAccessLevels(Iterable<? extends AccessLevel> values)

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

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

Parameter
NameDescription
valuesIterable<? extends com.google.identity.accesscontextmanager.v1.AccessLevel>
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplaceAccessLevelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides

build()

public ReplaceAccessLevelsResponse build()
Returns
TypeDescription
ReplaceAccessLevelsResponse

buildPartial()

public ReplaceAccessLevelsResponse buildPartial()
Returns
TypeDescription
ReplaceAccessLevelsResponse

clear()

public ReplaceAccessLevelsResponse.Builder clear()
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides

clearAccessLevels()

public ReplaceAccessLevelsResponse.Builder clearAccessLevels()

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

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

Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ReplaceAccessLevelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplaceAccessLevelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides

clone()

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

getAccessLevelsBuilder(int index)

public AccessLevel.Builder getAccessLevelsBuilder(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.Builder

getAccessLevelsBuilderList()

public List<AccessLevel.Builder> getAccessLevelsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplaceAccessLevelsResponse other)

public ReplaceAccessLevelsResponse.Builder mergeFrom(ReplaceAccessLevelsResponse other)
Parameter
NameDescription
otherReplaceAccessLevelsResponse
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplaceAccessLevelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReplaceAccessLevelsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceAccessLevelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides

removeAccessLevels(int index)

public ReplaceAccessLevelsResponse.Builder removeAccessLevels(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
ReplaceAccessLevelsResponse.Builder

setAccessLevels(int index, AccessLevel value)

public ReplaceAccessLevelsResponse.Builder setAccessLevels(int index, AccessLevel value)

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

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

Parameters
NameDescription
indexint
valueAccessLevel
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

setAccessLevels(int index, AccessLevel.Builder builderForValue)

public ReplaceAccessLevelsResponse.Builder setAccessLevels(int index, AccessLevel.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValueAccessLevel.Builder
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReplaceAccessLevelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReplaceAccessLevelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceAccessLevelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReplaceAccessLevelsResponse.Builder
Overrides