Class ListAccessLevelsResponse.Builder (1.15.0)

public static final class ListAccessLevelsResponse.Builder extends GeneratedMessageV3.Builder<ListAccessLevelsResponse.Builder> implements ListAccessLevelsResponseOrBuilder

A response to ListAccessLevelsRequest.

Protobuf type google.identity.accesscontextmanager.v1.ListAccessLevelsResponse

Static Methods

getDescriptor()

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

Methods

addAccessLevels(AccessLevel value)

public ListAccessLevelsResponse.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
ListAccessLevelsResponse.Builder

addAccessLevels(AccessLevel.Builder builderForValue)

public ListAccessLevelsResponse.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
ListAccessLevelsResponse.Builder

addAccessLevels(int index, AccessLevel value)

public ListAccessLevelsResponse.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
ListAccessLevelsResponse.Builder

addAccessLevels(int index, AccessLevel.Builder builderForValue)

public ListAccessLevelsResponse.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
ListAccessLevelsResponse.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 ListAccessLevelsResponse.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
ListAccessLevelsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAccessLevelsResponse build()
Returns
TypeDescription
ListAccessLevelsResponse

buildPartial()

public ListAccessLevelsResponse buildPartial()
Returns
TypeDescription
ListAccessLevelsResponse

clear()

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

clearAccessLevels()

public ListAccessLevelsResponse.Builder clearAccessLevels()

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

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

Returns
TypeDescription
ListAccessLevelsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAccessLevelsResponse.Builder clearNextPageToken()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Returns
TypeDescription
ListAccessLevelsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAccessLevelsResponse other)

public ListAccessLevelsResponse.Builder mergeFrom(ListAccessLevelsResponse other)
Parameter
NameDescription
otherListAccessLevelsResponse
Returns
TypeDescription
ListAccessLevelsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAccessLevels(int index)

public ListAccessLevelsResponse.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
ListAccessLevelsResponse.Builder

setAccessLevels(int index, AccessLevel value)

public ListAccessLevelsResponse.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
ListAccessLevelsResponse.Builder

setAccessLevels(int index, AccessLevel.Builder builderForValue)

public ListAccessLevelsResponse.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
ListAccessLevelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAccessLevelsResponse.Builder setNextPageToken(String value)

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListAccessLevelsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAccessLevelsResponse.Builder setNextPageTokenBytes(ByteString value)

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListAccessLevelsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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