public static final class ListHmacKeysRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder> implements ListHmacKeysRequestOrBuilder
Request to fetch a list of HMAC keys under a given project.Protobuf type
google.storage.v2.ListHmacKeysRequest
Modifier and Type | Method and Description |
---|---|
ListHmacKeysRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListHmacKeysRequest |
build() |
ListHmacKeysRequest |
buildPartial() |
ListHmacKeysRequest.Builder |
clear() |
ListHmacKeysRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListHmacKeysRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListHmacKeysRequest.Builder |
clearPageSize()
The maximum number of keys to return.
|
ListHmacKeysRequest.Builder |
clearPageToken()
A previously returned token from ListHmacKeysResponse to get the next page.
|
ListHmacKeysRequest.Builder |
clearProject()
Required.
|
ListHmacKeysRequest.Builder |
clearServiceAccountEmail()
If set, filters to only return HMAC keys for specified service account.
|
ListHmacKeysRequest.Builder |
clearShowDeletedKeys()
If set, return deleted keys that have not yet been wiped out.
|
ListHmacKeysRequest.Builder |
clone() |
ListHmacKeysRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
The maximum number of keys to return.
|
String |
getPageToken()
A previously returned token from ListHmacKeysResponse to get the next page.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
A previously returned token from ListHmacKeysResponse to get the next page.
|
String |
getProject()
Required.
|
com.google.protobuf.ByteString |
getProjectBytes()
Required.
|
String |
getServiceAccountEmail()
If set, filters to only return HMAC keys for specified service account.
|
com.google.protobuf.ByteString |
getServiceAccountEmailBytes()
If set, filters to only return HMAC keys for specified service account.
|
boolean |
getShowDeletedKeys()
If set, return deleted keys that have not yet been wiped out.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListHmacKeysRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListHmacKeysRequest.Builder |
mergeFrom(ListHmacKeysRequest other) |
ListHmacKeysRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListHmacKeysRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListHmacKeysRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListHmacKeysRequest.Builder |
setPageSize(int value)
The maximum number of keys to return.
|
ListHmacKeysRequest.Builder |
setPageToken(String value)
A previously returned token from ListHmacKeysResponse to get the next page.
|
ListHmacKeysRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
A previously returned token from ListHmacKeysResponse to get the next page.
|
ListHmacKeysRequest.Builder |
setProject(String value)
Required.
|
ListHmacKeysRequest.Builder |
setProjectBytes(com.google.protobuf.ByteString value)
Required.
|
ListHmacKeysRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListHmacKeysRequest.Builder |
setServiceAccountEmail(String value)
If set, filters to only return HMAC keys for specified service account.
|
ListHmacKeysRequest.Builder |
setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
If set, filters to only return HMAC keys for specified service account.
|
ListHmacKeysRequest.Builder |
setShowDeletedKeys(boolean value)
If set, return deleted keys that have not yet been wiped out.
|
ListHmacKeysRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListHmacKeysRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListHmacKeysRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListHmacKeysRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder mergeFrom(ListHmacKeysRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public ListHmacKeysRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListHmacKeysRequest.Builder>
IOException
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) = { ... }
getProject
in interface ListHmacKeysRequestOrBuilder
public com.google.protobuf.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) = { ... }
getProjectBytes
in interface ListHmacKeysRequestOrBuilder
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) = { ... }
value
- The project to set.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) = { ... }
public ListHmacKeysRequest.Builder setProjectBytes(com.google.protobuf.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) = { ... }
value
- The bytes for project to set.public int getPageSize()
The maximum number of keys to return.
int32 page_size = 2;
getPageSize
in interface ListHmacKeysRequestOrBuilder
public ListHmacKeysRequest.Builder setPageSize(int value)
The maximum number of keys to return.
int32 page_size = 2;
value
- The pageSize to set.public ListHmacKeysRequest.Builder clearPageSize()
The maximum number of keys to return.
int32 page_size = 2;
public String getPageToken()
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
getPageToken
in interface ListHmacKeysRequestOrBuilder
public com.google.protobuf.ByteString getPageTokenBytes()
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
getPageTokenBytes
in interface ListHmacKeysRequestOrBuilder
public ListHmacKeysRequest.Builder setPageToken(String value)
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
value
- The pageToken to set.public ListHmacKeysRequest.Builder clearPageToken()
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
public ListHmacKeysRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3;
value
- The bytes for pageToken to set.public String getServiceAccountEmail()
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
getServiceAccountEmail
in interface ListHmacKeysRequestOrBuilder
public com.google.protobuf.ByteString getServiceAccountEmailBytes()
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
getServiceAccountEmailBytes
in interface ListHmacKeysRequestOrBuilder
public ListHmacKeysRequest.Builder setServiceAccountEmail(String value)
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
value
- The serviceAccountEmail to set.public ListHmacKeysRequest.Builder clearServiceAccountEmail()
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
public ListHmacKeysRequest.Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4;
value
- The bytes for serviceAccountEmail to set.public boolean getShowDeletedKeys()
If set, return deleted keys that have not yet been wiped out.
bool show_deleted_keys = 5;
getShowDeletedKeys
in interface ListHmacKeysRequestOrBuilder
public ListHmacKeysRequest.Builder setShowDeletedKeys(boolean value)
If set, return deleted keys that have not yet been wiped out.
bool show_deleted_keys = 5;
value
- The showDeletedKeys to set.public ListHmacKeysRequest.Builder clearShowDeletedKeys()
If set, return deleted keys that have not yet been wiped out.
bool show_deleted_keys = 5;
public final ListHmacKeysRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
public final ListHmacKeysRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListHmacKeysRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.