Send feedback
Class ListImportJobsResponse.Builder (2.35.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.35.0 keyboard_arrow_down
public static final class ListImportJobsResponse . Builder extends GeneratedMessageV3 . Builder<ListImportJobsResponse . Builder > implements ListImportJobsResponseOrBuilder
Response message for
KeyManagementService.ListImportJobs .
Protobuf type google.cloud.kms.v1.ListImportJobsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllImportJobs(Iterable<? extends ImportJob> values)
public ListImportJobsResponse . Builder addAllImportJobs ( Iterable <? extends ImportJob > values )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter Name Description values
Iterable <? extends com.google.cloud.kms.v1.ImportJob >
addImportJobs(ImportJob value)
public ListImportJobsResponse . Builder addImportJobs ( ImportJob value )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
addImportJobs(ImportJob.Builder builderForValue)
public ListImportJobsResponse . Builder addImportJobs ( ImportJob . Builder builderForValue )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
addImportJobs(int index, ImportJob value)
public ListImportJobsResponse . Builder addImportJobs ( int index , ImportJob value )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
addImportJobs(int index, ImportJob.Builder builderForValue)
public ListImportJobsResponse . Builder addImportJobs ( int index , ImportJob . Builder builderForValue )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
addImportJobsBuilder()
public ImportJob . Builder addImportJobsBuilder ()
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
addImportJobsBuilder(int index)
public ImportJob . Builder addImportJobsBuilder ( int index )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter Name Description index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListImportJobsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListImportJobsResponse build ()
buildPartial()
public ListImportJobsResponse buildPartial ()
clear()
public ListImportJobsResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListImportJobsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearImportJobs()
public ListImportJobsResponse . Builder clearImportJobs ()
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
clearNextPageToken()
public ListImportJobsResponse . Builder clearNextPageToken ()
A token to retrieve next page of results. Pass this value in
ListImportJobsRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListImportJobsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearTotalSize()
public ListImportJobsResponse . Builder clearTotalSize ()
The total number of ImportJobs that
matched the query.
int32 total_size = 3;
clone()
public ListImportJobsResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListImportJobsResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getImportJobs(int index)
public ImportJob getImportJobs ( int index )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter Name Description index
int
getImportJobsBuilder(int index)
public ImportJob . Builder getImportJobsBuilder ( int index )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter Name Description index
int
getImportJobsBuilderList()
public List<ImportJob . Builder > getImportJobsBuilderList ()
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
getImportJobsCount()
public int getImportJobsCount ()
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Returns Type Description int
getImportJobsList()
public List<ImportJob> getImportJobsList ()
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
getImportJobsOrBuilder(int index)
public ImportJobOrBuilder getImportJobsOrBuilder ( int index )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter Name Description index
int
getImportJobsOrBuilderList()
public List <? extends ImportJobOrBuilder > getImportJobsOrBuilderList ()
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Returns Type Description List <? extends com.google.cloud.kms.v1.ImportJobOrBuilder >
getNextPageToken()
public String getNextPageToken ()
A token to retrieve next page of results. Pass this value in
ListImportJobsRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Returns Type Description String
The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
A token to retrieve next page of results. Pass this value in
ListImportJobsRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Returns Type Description ByteString
The bytes for nextPageToken.
getTotalSize()
public int getTotalSize ()
The total number of ImportJobs that
matched the query.
int32 total_size = 3;
Returns Type Description int
The totalSize.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListImportJobsResponse other)
public ListImportJobsResponse . Builder mergeFrom ( ListImportJobsResponse other )
public ListImportJobsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListImportJobsResponse . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListImportJobsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeImportJobs(int index)
public ListImportJobsResponse . Builder removeImportJobs ( int index )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter Name Description index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ListImportJobsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setImportJobs(int index, ImportJob value)
public ListImportJobsResponse . Builder setImportJobs ( int index , ImportJob value )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
setImportJobs(int index, ImportJob.Builder builderForValue)
public ListImportJobsResponse . Builder setImportJobs ( int index , ImportJob . Builder builderForValue )
The list of ImportJobs .
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
setNextPageToken(String value)
public ListImportJobsResponse . Builder setNextPageToken ( String value )
A token to retrieve next page of results. Pass this value in
ListImportJobsRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Parameter Name Description value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListImportJobsResponse . Builder setNextPageTokenBytes ( ByteString value )
A token to retrieve next page of results. Pass this value in
ListImportJobsRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Parameter Name Description value
ByteString
The bytes for nextPageToken to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListImportJobsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setTotalSize(int value)
public ListImportJobsResponse . Builder setTotalSize ( int value )
The total number of ImportJobs that
matched the query.
int32 total_size = 3;
Parameter Name Description value
int
The totalSize to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final ListImportJobsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]