public static final class SearchProtectedResourcesRequest.Builder extends GeneratedMessageV3.Builder<SearchProtectedResourcesRequest.Builder> implements SearchProtectedResourcesRequestOrBuilder
Request message for KeyTrackingService.SearchProtectedResources.
Protobuf type google.cloud.kms.inventory.v1.SearchProtectedResourcesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchProtectedResourcesRequest.BuilderImplements
SearchProtectedResourcesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchProtectedResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SearchProtectedResourcesRequest.Builder |
build()
public SearchProtectedResourcesRequest build()
Type | Description |
SearchProtectedResourcesRequest |
buildPartial()
public SearchProtectedResourcesRequest buildPartial()
Type | Description |
SearchProtectedResourcesRequest |
clear()
public SearchProtectedResourcesRequest.Builder clear()
Type | Description |
SearchProtectedResourcesRequest.Builder |
clearCryptoKey()
public SearchProtectedResourcesRequest.Builder clearCryptoKey()
Required. The resource name of the CryptoKey.
string crypto_key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SearchProtectedResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SearchProtectedResourcesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchProtectedResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SearchProtectedResourcesRequest.Builder |
clearPageSize()
public SearchProtectedResourcesRequest.Builder clearPageSize()
The maximum number of resources to return. The service may return fewer than this value. If unspecified, at most 500 resources will be returned. The maximum value is 500; values above 500 will be coerced to 500.
int32 page_size = 3;
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
clearPageToken()
public SearchProtectedResourcesRequest.Builder clearPageToken()
A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.
string page_token = 4;
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
clearScope()
public SearchProtectedResourcesRequest.Builder clearScope()
Required. Resource name of the organization. Example: organizations/123
string scope = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
clone()
public SearchProtectedResourcesRequest.Builder clone()
Type | Description |
SearchProtectedResourcesRequest.Builder |
getCryptoKey()
public String getCryptoKey()
Required. The resource name of the CryptoKey.
string crypto_key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The cryptoKey. |
getCryptoKeyBytes()
public ByteString getCryptoKeyBytes()
Required. The resource name of the CryptoKey.
string crypto_key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for cryptoKey. |
getDefaultInstanceForType()
public SearchProtectedResourcesRequest getDefaultInstanceForType()
Type | Description |
SearchProtectedResourcesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPageSize()
public int getPageSize()
The maximum number of resources to return. The service may return fewer than this value. If unspecified, at most 500 resources will be returned. The maximum value is 500; values above 500 will be coerced to 500.
int32 page_size = 3;
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.
string page_token = 4;
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.
string page_token = 4;
Type | Description |
ByteString | The bytes for pageToken. |
getScope()
public String getScope()
Required. Resource name of the organization. Example: organizations/123
string scope = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The scope. |
getScopeBytes()
public ByteString getScopeBytes()
Required. Resource name of the organization. Example: organizations/123
string scope = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for scope. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SearchProtectedResourcesRequest other)
public SearchProtectedResourcesRequest.Builder mergeFrom(SearchProtectedResourcesRequest other)
Name | Description |
other | SearchProtectedResourcesRequest |
Type | Description |
SearchProtectedResourcesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchProtectedResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchProtectedResourcesRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SearchProtectedResourcesRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SearchProtectedResourcesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchProtectedResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SearchProtectedResourcesRequest.Builder |
setCryptoKey(String value)
public SearchProtectedResourcesRequest.Builder setCryptoKey(String value)
Required. The resource name of the CryptoKey.
string crypto_key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The cryptoKey to set. |
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setCryptoKeyBytes(ByteString value)
public SearchProtectedResourcesRequest.Builder setCryptoKeyBytes(ByteString value)
Required. The resource name of the CryptoKey.
string crypto_key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for cryptoKey to set. |
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchProtectedResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SearchProtectedResourcesRequest.Builder |
setPageSize(int value)
public SearchProtectedResourcesRequest.Builder setPageSize(int value)
The maximum number of resources to return. The service may return fewer than this value. If unspecified, at most 500 resources will be returned. The maximum value is 500; values above 500 will be coerced to 500.
int32 page_size = 3;
Name | Description |
value | int The pageSize to set. |
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setPageToken(String value)
public SearchProtectedResourcesRequest.Builder setPageToken(String value)
A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.
string page_token = 4;
Name | Description |
value | String The pageToken to set. |
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public SearchProtectedResourcesRequest.Builder setPageTokenBytes(ByteString value)
A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.
string page_token = 4;
Name | Description |
value | ByteString The bytes for pageToken to set. |
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchProtectedResourcesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SearchProtectedResourcesRequest.Builder |
setScope(String value)
public SearchProtectedResourcesRequest.Builder setScope(String value)
Required. Resource name of the organization. Example: organizations/123
string scope = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The scope to set. |
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setScopeBytes(ByteString value)
public SearchProtectedResourcesRequest.Builder setScopeBytes(ByteString value)
Required. Resource name of the organization. Example: organizations/123
string scope = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for scope to set. |
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchProtectedResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SearchProtectedResourcesRequest.Builder |