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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchProtectedResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder |
build()
public SearchProtectedResourcesRequest build()
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest |
buildPartial()
public SearchProtectedResourcesRequest buildPartial()
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest |
clear()
public SearchProtectedResourcesRequest.Builder clear()
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SearchProtectedResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchProtectedResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
clone()
public SearchProtectedResourcesRequest.Builder clone()
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for cryptoKey. |
getDefaultInstanceForType()
public SearchProtectedResourcesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for scope. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SearchProtectedResourcesRequest other)
public SearchProtectedResourcesRequest.Builder mergeFrom(SearchProtectedResourcesRequest other)
Parameter | |
---|---|
Name | Description |
other | SearchProtectedResourcesRequest |
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchProtectedResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SearchProtectedResourcesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchProtectedResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The cryptoKey to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for cryptoKey to set. |
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchProtectedResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The pageSize to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The pageToken to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pageToken to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The scope to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for scope to set. |
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchProtectedResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchProtectedResourcesRequest.Builder |