public static final class SearchEntitlementsRequest.Builder extends GeneratedMessageV3.Builder<SearchEntitlementsRequest.Builder> implements SearchEntitlementsRequestOrBuilder
Request message for SearchEntitlements
method.
Protobuf type google.cloud.privilegedaccessmanager.v1.SearchEntitlementsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchEntitlementsRequest.BuilderImplements
SearchEntitlementsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchEntitlementsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
build()
public SearchEntitlementsRequest build()
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest |
buildPartial()
public SearchEntitlementsRequest buildPartial()
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest |
clear()
public SearchEntitlementsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
clearCallerAccessType()
public SearchEntitlementsRequest.Builder clearCallerAccessType()
Required. Only entitlements where the calling user has this access are returned.
.google.cloud.privilegedaccessmanager.v1.SearchEntitlementsRequest.CallerAccessType caller_access_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SearchEntitlementsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
clearFilter()
public SearchEntitlementsRequest.Builder clearFilter()
Optional. Only entitlements matching this filter are returned in the response.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchEntitlementsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
clearPageSize()
public SearchEntitlementsRequest.Builder clearPageSize()
Optional. Requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
clearPageToken()
public SearchEntitlementsRequest.Builder clearPageToken()
Optional. A token identifying a page of results the server should return.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
clearParent()
public SearchEntitlementsRequest.Builder clearParent()
Required. The parent which owns the entitlement resources.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
clone()
public SearchEntitlementsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
getCallerAccessType()
public SearchEntitlementsRequest.CallerAccessType getCallerAccessType()
Required. Only entitlements where the calling user has this access are returned.
.google.cloud.privilegedaccessmanager.v1.SearchEntitlementsRequest.CallerAccessType caller_access_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.CallerAccessType |
The callerAccessType. |
getCallerAccessTypeValue()
public int getCallerAccessTypeValue()
Required. Only entitlements where the calling user has this access are returned.
.google.cloud.privilegedaccessmanager.v1.SearchEntitlementsRequest.CallerAccessType caller_access_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for callerAccessType. |
getDefaultInstanceForType()
public SearchEntitlementsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilter()
public String getFilter()
Optional. Only entitlements matching this filter are returned in the response.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()
Optional. Only entitlements matching this filter are returned in the response.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize()
Optional. Requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()
Optional. A token identifying a page of results the server should return.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional. A token identifying a page of results the server should return.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()
Required. The parent which owns the entitlement resources.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent which owns the entitlement resources.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SearchEntitlementsRequest other)
public SearchEntitlementsRequest.Builder mergeFrom(SearchEntitlementsRequest other)
Parameter | |
---|---|
Name | Description |
other |
SearchEntitlementsRequest |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchEntitlementsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SearchEntitlementsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchEntitlementsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
setCallerAccessType(SearchEntitlementsRequest.CallerAccessType value)
public SearchEntitlementsRequest.Builder setCallerAccessType(SearchEntitlementsRequest.CallerAccessType value)
Required. Only entitlements where the calling user has this access are returned.
.google.cloud.privilegedaccessmanager.v1.SearchEntitlementsRequest.CallerAccessType caller_access_type = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
SearchEntitlementsRequest.CallerAccessType The callerAccessType to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setCallerAccessTypeValue(int value)
public SearchEntitlementsRequest.Builder setCallerAccessTypeValue(int value)
Required. Only entitlements where the calling user has this access are returned.
.google.cloud.privilegedaccessmanager.v1.SearchEntitlementsRequest.CallerAccessType caller_access_type = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for callerAccessType to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchEntitlementsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
setFilter(String value)
public SearchEntitlementsRequest.Builder setFilter(String value)
Optional. Only entitlements matching this filter are returned in the response.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public SearchEntitlementsRequest.Builder setFilterBytes(ByteString value)
Optional. Only entitlements matching this filter are returned in the response.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public SearchEntitlementsRequest.Builder setPageSize(int value)
Optional. Requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public SearchEntitlementsRequest.Builder setPageToken(String value)
Optional. A token identifying a page of results the server should return.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public SearchEntitlementsRequest.Builder setPageTokenBytes(ByteString value)
Optional. A token identifying a page of results the server should return.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setParent(String value)
public SearchEntitlementsRequest.Builder setParent(String value)
Required. The parent which owns the entitlement resources.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public SearchEntitlementsRequest.Builder setParentBytes(ByteString value)
Required. The parent which owns the entitlement resources.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchEntitlementsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchEntitlementsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchEntitlementsRequest.Builder |