public static final class ListValuedResourcesResponse.Builder extends GeneratedMessageV3.Builder<ListValuedResourcesResponse.Builder> implements ListValuedResourcesResponseOrBuilder
Response message for listing the valued resources for a given simulation.
Protobuf type google.cloud.securitycenter.v2.ListValuedResourcesResponse
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
addAllValuedResources(Iterable<? extends ValuedResource> values)
public ListValuedResourcesResponse.Builder addAllValuedResources(Iterable<? extends ValuedResource> values)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v2.ValuedResource>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListValuedResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addValuedResources(ValuedResource value)
public ListValuedResourcesResponse.Builder addValuedResources(ValuedResource value)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
addValuedResources(ValuedResource.Builder builderForValue)
public ListValuedResourcesResponse.Builder addValuedResources(ValuedResource.Builder builderForValue)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
addValuedResources(int index, ValuedResource value)
public ListValuedResourcesResponse.Builder addValuedResources(int index, ValuedResource value)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
addValuedResources(int index, ValuedResource.Builder builderForValue)
public ListValuedResourcesResponse.Builder addValuedResources(int index, ValuedResource.Builder builderForValue)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
addValuedResourcesBuilder()
public ValuedResource.Builder addValuedResourcesBuilder()
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
addValuedResourcesBuilder(int index)
public ValuedResource.Builder addValuedResourcesBuilder(int index)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListValuedResourcesResponse build()
buildPartial()
public ListValuedResourcesResponse buildPartial()
clear()
public ListValuedResourcesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListValuedResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListValuedResourcesResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListValuedResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTotalSize()
public ListValuedResourcesResponse.Builder clearTotalSize()
The estimated total number of results matching the query.
int32 total_size = 3;
clearValuedResources()
public ListValuedResourcesResponse.Builder clearValuedResources()
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
clone()
public ListValuedResourcesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListValuedResourcesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more
results.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getTotalSize()
public int getTotalSize()
The estimated total number of results matching the query.
int32 total_size = 3;
Returns |
---|
Type | Description |
int | The totalSize.
|
getValuedResources(int index)
public ValuedResource getValuedResources(int index)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
Parameter |
---|
Name | Description |
index | int
|
getValuedResourcesBuilder(int index)
public ValuedResource.Builder getValuedResourcesBuilder(int index)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
Parameter |
---|
Name | Description |
index | int
|
getValuedResourcesBuilderList()
public List<ValuedResource.Builder> getValuedResourcesBuilderList()
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
getValuedResourcesCount()
public int getValuedResourcesCount()
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
Returns |
---|
Type | Description |
int | |
getValuedResourcesList()
public List<ValuedResource> getValuedResourcesList()
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
getValuedResourcesOrBuilder(int index)
public ValuedResourceOrBuilder getValuedResourcesOrBuilder(int index)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
Parameter |
---|
Name | Description |
index | int
|
getValuedResourcesOrBuilderList()
public List<? extends ValuedResourceOrBuilder> getValuedResourcesOrBuilderList()
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v2.ValuedResourceOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListValuedResourcesResponse other)
public ListValuedResourcesResponse.Builder mergeFrom(ListValuedResourcesResponse other)
public ListValuedResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListValuedResourcesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListValuedResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeValuedResources(int index)
public ListValuedResourcesResponse.Builder removeValuedResources(int index)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListValuedResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListValuedResourcesResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more
results.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListValuedResourcesResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results, or empty if there are no more
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 ListValuedResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTotalSize(int value)
public ListValuedResourcesResponse.Builder setTotalSize(int value)
The estimated total number of results matching the query.
int32 total_size = 3;
Parameter |
---|
Name | Description |
value | int
The totalSize to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListValuedResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValuedResources(int index, ValuedResource value)
public ListValuedResourcesResponse.Builder setValuedResources(int index, ValuedResource value)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;
setValuedResources(int index, ValuedResource.Builder builderForValue)
public ListValuedResourcesResponse.Builder setValuedResources(int index, ValuedResource.Builder builderForValue)
The valued resources that the attack path simulation identified.
repeated .google.cloud.securitycenter.v2.ValuedResource valued_resources = 1;