Class SearchEntitlementsResponse.Builder (0.9.0)

public static final class SearchEntitlementsResponse.Builder extends GeneratedMessageV3.Builder<SearchEntitlementsResponse.Builder> implements SearchEntitlementsResponseOrBuilder

Response message for SearchEntitlements method.

Protobuf type google.cloud.privilegedaccessmanager.v1.SearchEntitlementsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEntitlements(Iterable<? extends Entitlement> values)

public SearchEntitlementsResponse.Builder addAllEntitlements(Iterable<? extends Entitlement> values)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.privilegedaccessmanager.v1.Entitlement>
Returns
Type Description
SearchEntitlementsResponse.Builder

addEntitlements(Entitlement value)

public SearchEntitlementsResponse.Builder addEntitlements(Entitlement value)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameter
Name Description
value Entitlement
Returns
Type Description
SearchEntitlementsResponse.Builder

addEntitlements(Entitlement.Builder builderForValue)

public SearchEntitlementsResponse.Builder addEntitlements(Entitlement.Builder builderForValue)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameter
Name Description
builderForValue Entitlement.Builder
Returns
Type Description
SearchEntitlementsResponse.Builder

addEntitlements(int index, Entitlement value)

public SearchEntitlementsResponse.Builder addEntitlements(int index, Entitlement value)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameters
Name Description
index int
value Entitlement
Returns
Type Description
SearchEntitlementsResponse.Builder

addEntitlements(int index, Entitlement.Builder builderForValue)

public SearchEntitlementsResponse.Builder addEntitlements(int index, Entitlement.Builder builderForValue)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameters
Name Description
index int
builderForValue Entitlement.Builder
Returns
Type Description
SearchEntitlementsResponse.Builder

addEntitlementsBuilder()

public Entitlement.Builder addEntitlementsBuilder()

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Returns
Type Description
Entitlement.Builder

addEntitlementsBuilder(int index)

public Entitlement.Builder addEntitlementsBuilder(int index)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
Entitlement.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchEntitlementsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

build()

public SearchEntitlementsResponse build()
Returns
Type Description
SearchEntitlementsResponse

buildPartial()

public SearchEntitlementsResponse buildPartial()
Returns
Type Description
SearchEntitlementsResponse

clear()

public SearchEntitlementsResponse.Builder clear()
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

clearEntitlements()

public SearchEntitlementsResponse.Builder clearEntitlements()

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Returns
Type Description
SearchEntitlementsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchEntitlementsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

clearNextPageToken()

public SearchEntitlementsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
SearchEntitlementsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchEntitlementsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

clone()

public SearchEntitlementsResponse.Builder clone()
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchEntitlementsResponse getDefaultInstanceForType()
Returns
Type Description
SearchEntitlementsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntitlements(int index)

public Entitlement getEntitlements(int index)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
Entitlement

getEntitlementsBuilder(int index)

public Entitlement.Builder getEntitlementsBuilder(int index)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
Entitlement.Builder

getEntitlementsBuilderList()

public List<Entitlement.Builder> getEntitlementsBuilderList()

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Returns
Type Description
List<Builder>

getEntitlementsCount()

public int getEntitlementsCount()

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Returns
Type Description
int

getEntitlementsList()

public List<Entitlement> getEntitlementsList()

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Returns
Type Description
List<Entitlement>

getEntitlementsOrBuilder(int index)

public EntitlementOrBuilder getEntitlementsOrBuilder(int index)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
EntitlementOrBuilder

getEntitlementsOrBuilderList()

public List<? extends EntitlementOrBuilder> getEntitlementsOrBuilderList()

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Returns
Type Description
List<? extends com.google.cloud.privilegedaccessmanager.v1.EntitlementOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchEntitlementsResponse other)

public SearchEntitlementsResponse.Builder mergeFrom(SearchEntitlementsResponse other)
Parameter
Name Description
other SearchEntitlementsResponse
Returns
Type Description
SearchEntitlementsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchEntitlementsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchEntitlementsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchEntitlementsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

removeEntitlements(int index)

public SearchEntitlementsResponse.Builder removeEntitlements(int index)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchEntitlementsResponse.Builder

setEntitlements(int index, Entitlement value)

public SearchEntitlementsResponse.Builder setEntitlements(int index, Entitlement value)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameters
Name Description
index int
value Entitlement
Returns
Type Description
SearchEntitlementsResponse.Builder

setEntitlements(int index, Entitlement.Builder builderForValue)

public SearchEntitlementsResponse.Builder setEntitlements(int index, Entitlement.Builder builderForValue)

The list of entitlements.

repeated .google.cloud.privilegedaccessmanager.v1.Entitlement entitlements = 1;

Parameters
Name Description
index int
builderForValue Entitlement.Builder
Returns
Type Description
SearchEntitlementsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchEntitlementsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

setNextPageToken(String value)

public SearchEntitlementsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchEntitlementsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchEntitlementsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchEntitlementsResponse.Builder

This builder for chaining.

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

public SearchEntitlementsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchEntitlementsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchEntitlementsResponse.Builder
Overrides