- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class ListHmacKeysRequest.Builder extends GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder> implements ListHmacKeysRequestOrBuilder
Request to fetch a list of HMAC keys under a given project.
Protobuf type google.storage.v2.ListHmacKeysRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListHmacKeysRequest.BuilderImplements
ListHmacKeysRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListHmacKeysRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
build()
public ListHmacKeysRequest build()
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest |
buildPartial()
public ListHmacKeysRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest |
clear()
public ListHmacKeysRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListHmacKeysRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListHmacKeysRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
clearPageSize()
public ListHmacKeysRequest.Builder clearPageSize()
The maximum number of keys to return.
int32 page_size = 2;
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
clearPageToken()
public ListHmacKeysRequest.Builder clearPageToken()
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
clearProject()
public ListHmacKeysRequest.Builder clearProject()
Required. The project to list HMAC keys for, in the format of "projects/{projectIdentifier}". {projectIdentifier} can be the project ID or project number.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
clearServiceAccountEmail()
public ListHmacKeysRequest.Builder clearServiceAccountEmail()
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
clearShowDeletedKeys()
public ListHmacKeysRequest.Builder clearShowDeletedKeys()
If set, return deleted keys that have not yet been wiped out.
bool show_deleted_keys = 5;
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
clone()
public ListHmacKeysRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
getDefaultInstanceForType()
public ListHmacKeysRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPageSize()
public int getPageSize()
The maximum number of keys to return.
int32 page_size = 2;
Returns | |
---|---|
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
Returns | |
---|---|
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for pageToken. |
getProject()
public String getProject()
Required. The project to list HMAC keys for, in the format of "projects/{projectIdentifier}". {projectIdentifier} can be the project ID or project number.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The project. |
getProjectBytes()
public ByteString getProjectBytes()
Required. The project to list HMAC keys for, in the format of "projects/{projectIdentifier}". {projectIdentifier} can be the project ID or project number.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for project. |
getServiceAccountEmail()
public String getServiceAccountEmail()
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
Returns | |
---|---|
Type | Description |
String | The serviceAccountEmail. |
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for serviceAccountEmail. |
getShowDeletedKeys()
public boolean getShowDeletedKeys()
If set, return deleted keys that have not yet been wiped out.
bool show_deleted_keys = 5;
Returns | |
---|---|
Type | Description |
boolean | The showDeletedKeys. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListHmacKeysRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListHmacKeysRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
mergeFrom(ListHmacKeysRequest other)
public ListHmacKeysRequest.Builder mergeFrom(ListHmacKeysRequest other)
Parameter | |
---|---|
Name | Description |
other | ListHmacKeysRequest |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListHmacKeysRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListHmacKeysRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
setPageSize(int value)
public ListHmacKeysRequest.Builder setPageSize(int value)
The maximum number of keys to return.
int32 page_size = 2;
Parameter | |
---|---|
Name | Description |
value | int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
setPageToken(String value)
public ListHmacKeysRequest.Builder setPageToken(String value)
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
Parameter | |
---|---|
Name | Description |
value | String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListHmacKeysRequest.Builder setPageTokenBytes(ByteString value)
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
setProject(String value)
public ListHmacKeysRequest.Builder setProject(String value)
Required. The project to list HMAC keys for, in the format of "projects/{projectIdentifier}". {projectIdentifier} can be the project ID or project number.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The project to set. |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
setProjectBytes(ByteString value)
public ListHmacKeysRequest.Builder setProjectBytes(ByteString value)
Required. The project to list HMAC keys for, in the format of "projects/{projectIdentifier}". {projectIdentifier} can be the project ID or project number.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for project to set. |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListHmacKeysRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |
setServiceAccountEmail(String value)
public ListHmacKeysRequest.Builder setServiceAccountEmail(String value)
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
Parameter | |
---|---|
Name | Description |
value | String The serviceAccountEmail to set. |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
setServiceAccountEmailBytes(ByteString value)
public ListHmacKeysRequest.Builder setServiceAccountEmailBytes(ByteString value)
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for serviceAccountEmail to set. |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
setShowDeletedKeys(boolean value)
public ListHmacKeysRequest.Builder setShowDeletedKeys(boolean value)
If set, return deleted keys that have not yet been wiped out.
bool show_deleted_keys = 5;
Parameter | |
---|---|
Name | Description |
value | boolean The showDeletedKeys to set. |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListHmacKeysRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListHmacKeysRequest.Builder |