public static final class SearchProtectedResourcesResponse.Builder extends GeneratedMessageV3.Builder<SearchProtectedResourcesResponse.Builder> implements SearchProtectedResourcesResponseOrBuilder
Response message for
KeyTrackingService.SearchProtectedResources.
Protobuf type google.cloud.kms.inventory.v1.SearchProtectedResourcesResponse
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
addAllProtectedResources(Iterable<? extends ProtectedResource> values)
public SearchProtectedResourcesResponse.Builder addAllProtectedResources(Iterable<? extends ProtectedResource> values)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.kms.inventory.v1.ProtectedResource>
|
addProtectedResources(ProtectedResource value)
public SearchProtectedResourcesResponse.Builder addProtectedResources(ProtectedResource value)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
addProtectedResources(ProtectedResource.Builder builderForValue)
public SearchProtectedResourcesResponse.Builder addProtectedResources(ProtectedResource.Builder builderForValue)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
addProtectedResources(int index, ProtectedResource value)
public SearchProtectedResourcesResponse.Builder addProtectedResources(int index, ProtectedResource value)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
addProtectedResources(int index, ProtectedResource.Builder builderForValue)
public SearchProtectedResourcesResponse.Builder addProtectedResources(int index, ProtectedResource.Builder builderForValue)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
addProtectedResourcesBuilder()
public ProtectedResource.Builder addProtectedResourcesBuilder()
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
addProtectedResourcesBuilder(int index)
public ProtectedResource.Builder addProtectedResourcesBuilder(int index)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchProtectedResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchProtectedResourcesResponse build()
buildPartial()
public SearchProtectedResourcesResponse buildPartial()
clear()
public SearchProtectedResourcesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchProtectedResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public SearchProtectedResourcesResponse.Builder clearNextPageToken()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchProtectedResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProtectedResources()
public SearchProtectedResourcesResponse.Builder clearProtectedResources()
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
clone()
public SearchProtectedResourcesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchProtectedResourcesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getProtectedResources(int index)
public ProtectedResource getProtectedResources(int index)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
Parameter |
Name |
Description |
index |
int
|
getProtectedResourcesBuilder(int index)
public ProtectedResource.Builder getProtectedResourcesBuilder(int index)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
Parameter |
Name |
Description |
index |
int
|
getProtectedResourcesBuilderList()
public List<ProtectedResource.Builder> getProtectedResourcesBuilderList()
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
getProtectedResourcesCount()
public int getProtectedResourcesCount()
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
Returns |
Type |
Description |
int |
|
getProtectedResourcesList()
public List<ProtectedResource> getProtectedResourcesList()
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
getProtectedResourcesOrBuilder(int index)
public ProtectedResourceOrBuilder getProtectedResourcesOrBuilder(int index)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
Parameter |
Name |
Description |
index |
int
|
getProtectedResourcesOrBuilderList()
public List<? extends ProtectedResourceOrBuilder> getProtectedResourcesOrBuilderList()
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.kms.inventory.v1.ProtectedResourceOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchProtectedResourcesResponse other)
public SearchProtectedResourcesResponse.Builder mergeFrom(SearchProtectedResourcesResponse other)
public SearchProtectedResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchProtectedResourcesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchProtectedResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeProtectedResources(int index)
public SearchProtectedResourcesResponse.Builder removeProtectedResources(int index)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchProtectedResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public SearchProtectedResourcesResponse.Builder setNextPageToken(String value)
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public SearchProtectedResourcesResponse.Builder setNextPageTokenBytes(ByteString value)
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setProtectedResources(int index, ProtectedResource value)
public SearchProtectedResourcesResponse.Builder setProtectedResources(int index, ProtectedResource value)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
setProtectedResources(int index, ProtectedResource.Builder builderForValue)
public SearchProtectedResourcesResponse.Builder setProtectedResources(int index, ProtectedResource.Builder builderForValue)
Protected resources for this page.
repeated .google.cloud.kms.inventory.v1.ProtectedResource protected_resources = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchProtectedResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchProtectedResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides