Send feedback
Class ReplaceAccessLevelsResponse.Builder (1.2.10)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.2.10 keyboard_arrow_down
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
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
Name Description values Iterable <? extends com.google.identity.accesscontextmanager.v1.AccessLevel >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplaceAccessLevelsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ReplaceAccessLevelsResponse build ()
Returns
buildPartial()
public ReplaceAccessLevelsResponse buildPartial ()
Returns
clear()
public ReplaceAccessLevelsResponse . Builder clear ()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ReplaceAccessLevelsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceAccessLevelsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ReplaceAccessLevelsResponse . Builder clone ()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Type Description List <? extends com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder >
getDefaultInstanceForType()
public ReplaceAccessLevelsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ReplaceAccessLevelsResponse other)
public ReplaceAccessLevelsResponse . Builder mergeFrom ( ReplaceAccessLevelsResponse other )
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplaceAccessLevelsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReplaceAccessLevelsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceAccessLevelsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceAccessLevelsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplaceAccessLevelsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceAccessLevelsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]