public final class ListHmacKeysRequest extends GeneratedMessageV3 implements ListHmacKeysRequestOrBuilder
Request to fetch a list of HMAC keys under a given project.
Protobuf type google.storage.v2.ListHmacKeysRequest
Static Fields
COMMON_REQUEST_PARAMS_FIELD_NUMBER
public static final int COMMON_REQUEST_PARAMS_FIELD_NUMBER
Field Value
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
Field Value
SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
Field Value
SHOW_DELETED_KEYS_FIELD_NUMBER
public static final int SHOW_DELETED_KEYS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListHmacKeysRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListHmacKeysRequest.Builder newBuilder()
Returns
newBuilder(ListHmacKeysRequest prototype)
public static ListHmacKeysRequest.Builder newBuilder(ListHmacKeysRequest prototype)
Parameter
Returns
public static ListHmacKeysRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListHmacKeysRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListHmacKeysRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListHmacKeysRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListHmacKeysRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListHmacKeysRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListHmacKeysRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListHmacKeysRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListHmacKeysRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListHmacKeysRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListHmacKeysRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListHmacKeysRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListHmacKeysRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCommonRequestParams()
public CommonRequestParams getCommonRequestParams()
Optional. A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
getCommonRequestParamsOrBuilder()
public CommonRequestParamsOrBuilder getCommonRequestParamsOrBuilder()
Optional. A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
getDefaultInstanceForType()
public ListHmacKeysRequest getDefaultInstanceForType()
Returns
getPageSize()
Optional. The maximum number of keys to return.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
int |
The pageSize.
|
getPageToken()
public String getPageToken()
Optional. A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional. A previously returned token from ListHmacKeysResponse to get the next page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for pageToken.
|
getParserForType()
public Parser<ListHmacKeysRequest> getParserForType()
Returns
Overrides
getProject()
public String getProject()
Required. The project id to list HMAC keys for.
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 id to list HMAC keys for.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type |
Description |
ByteString |
The bytes for project.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getServiceAccountEmail()
public String getServiceAccountEmail()
Optional. If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The serviceAccountEmail.
|
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()
Optional. If set, filters to only return HMAC keys for specified service account.
string service_account_email = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for serviceAccountEmail.
|
getShowDeletedKeys()
public boolean getShowDeletedKeys()
Optional. If set, return deleted keys that have not yet been wiped out.
bool show_deleted_keys = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
The showDeletedKeys.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCommonRequestParams()
public boolean hasCommonRequestParams()
Optional. A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
Whether the commonRequestParams field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListHmacKeysRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListHmacKeysRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListHmacKeysRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions