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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
addImportJobs(ImportJob value)
public ListImportJobsResponse.Builder addImportJobs(ImportJob value)
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter
Returns
addImportJobs(ImportJob.Builder builderForValue)
public ListImportJobsResponse.Builder addImportJobs(ImportJob.Builder builderForValue)
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addImportJobsBuilder()
public ImportJob.Builder addImportJobsBuilder()
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Returns
addImportJobsBuilder(int index)
public ImportJob.Builder addImportJobsBuilder(int index)
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListImportJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListImportJobsResponse build()
Returns
buildPartial()
public ListImportJobsResponse buildPartial()
Returns
clear()
public ListImportJobsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListImportJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearImportJobs()
public ListImportJobsResponse.Builder clearImportJobs()
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListImportJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTotalSize()
public ListImportJobsResponse.Builder clearTotalSize()
The total number of ImportJobs that
matched the query.
int32 total_size = 3;
Returns
clone()
public ListImportJobsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListImportJobsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getImportJobs(int index)
public ImportJob getImportJobs(int index)
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter
Returns
getImportJobsBuilder(int index)
public ImportJob.Builder getImportJobsBuilder(int index)
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter
Returns
getImportJobsBuilderList()
public List<ImportJob.Builder> getImportJobsBuilderList()
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Returns
getImportJobsCount()
public int getImportJobsCount()
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Returns
getImportJobsList()
public List<ImportJob> getImportJobsList()
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Returns
getImportJobsOrBuilder(int index)
public ImportJobOrBuilder getImportJobsOrBuilder(int index)
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListImportJobsResponse other)
public ListImportJobsResponse.Builder mergeFrom(ListImportJobsResponse other)
Parameter
Returns
public ListImportJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListImportJobsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListImportJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeImportJobs(int index)
public ListImportJobsResponse.Builder removeImportJobs(int index)
The list of ImportJobs.
repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListImportJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListImportJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListImportJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides