public static final class SearchGrantsResponse.Builder extends GeneratedMessageV3.Builder<SearchGrantsResponse.Builder> implements SearchGrantsResponseOrBuilder
Response message for SearchGrants
method.
Protobuf type google.cloud.privilegedaccessmanager.v1.SearchGrantsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllGrants(Iterable<? extends Grant> values)
public SearchGrantsResponse.Builder addAllGrants(Iterable<? extends Grant> values)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.privilegedaccessmanager.v1.Grant>
|
addGrants(Grant value)
public SearchGrantsResponse.Builder addGrants(Grant value)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameter |
Name |
Description |
value |
Grant
|
addGrants(Grant.Builder builderForValue)
public SearchGrantsResponse.Builder addGrants(Grant.Builder builderForValue)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
addGrants(int index, Grant value)
public SearchGrantsResponse.Builder addGrants(int index, Grant value)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Grant
|
addGrants(int index, Grant.Builder builderForValue)
public SearchGrantsResponse.Builder addGrants(int index, Grant.Builder builderForValue)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
addGrantsBuilder()
public Grant.Builder addGrantsBuilder()
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
addGrantsBuilder(int index)
public Grant.Builder addGrantsBuilder(int index)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchGrantsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchGrantsResponse build()
buildPartial()
public SearchGrantsResponse buildPartial()
clear()
public SearchGrantsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchGrantsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGrants()
public SearchGrantsResponse.Builder clearGrants()
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
clearNextPageToken()
public SearchGrantsResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchGrantsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchGrantsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchGrantsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGrants(int index)
public Grant getGrants(int index)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Grant |
|
getGrantsBuilder(int index)
public Grant.Builder getGrantsBuilder(int index)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameter |
Name |
Description |
index |
int
|
getGrantsBuilderList()
public List<Grant.Builder> getGrantsBuilderList()
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
getGrantsCount()
public int getGrantsCount()
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Returns |
Type |
Description |
int |
|
getGrantsList()
public List<Grant> getGrantsList()
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
getGrantsOrBuilder(int index)
public GrantOrBuilder getGrantsOrBuilder(int index)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameter |
Name |
Description |
index |
int
|
getGrantsOrBuilderList()
public List<? extends GrantOrBuilder> getGrantsOrBuilderList()
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.privilegedaccessmanager.v1.GrantOrBuilder> |
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchGrantsResponse other)
public SearchGrantsResponse.Builder mergeFrom(SearchGrantsResponse other)
public SearchGrantsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchGrantsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchGrantsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeGrants(int index)
public SearchGrantsResponse.Builder removeGrants(int index)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchGrantsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGrants(int index, Grant value)
public SearchGrantsResponse.Builder setGrants(int index, Grant value)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Grant
|
setGrants(int index, Grant.Builder builderForValue)
public SearchGrantsResponse.Builder setGrants(int index, Grant.Builder builderForValue)
The list of grants.
repeated .google.cloud.privilegedaccessmanager.v1.Grant grants = 1;
setNextPageToken(String value)
public SearchGrantsResponse.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.
|
setNextPageTokenBytes(ByteString value)
public SearchGrantsResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchGrantsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchGrantsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides