public static final class CustomConfig.ResourceSelector extends GeneratedMessageV3 implements CustomConfig.ResourceSelectorOrBuilder
Resource for selecting resource type.
Protobuf type google.cloud.securitycenter.v1.CustomConfig.ResourceSelector
Static Fields
RESOURCE_TYPES_FIELD_NUMBER
public static final int RESOURCE_TYPES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CustomConfig.ResourceSelector getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomConfig.ResourceSelector.Builder newBuilder()
newBuilder(CustomConfig.ResourceSelector prototype)
public static CustomConfig.ResourceSelector.Builder newBuilder(CustomConfig.ResourceSelector prototype)
public static CustomConfig.ResourceSelector parseDelimitedFrom(InputStream input)
public static CustomConfig.ResourceSelector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomConfig.ResourceSelector parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomConfig.ResourceSelector parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(CodedInputStream input)
public static CustomConfig.ResourceSelector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(InputStream input)
public static CustomConfig.ResourceSelector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomConfig.ResourceSelector parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomConfig.ResourceSelector> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CustomConfig.ResourceSelector getDefaultInstanceForType()
getParserForType()
public Parser<CustomConfig.ResourceSelector> getParserForType()
Overrides
getResourceTypes(int index)
public String getResourceTypes(int index)
The resource types to run the detector on.
repeated string resource_types = 1;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The resourceTypes at the given index.
|
getResourceTypesBytes(int index)
public ByteString getResourceTypesBytes(int index)
The resource types to run the detector on.
repeated string resource_types = 1;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the resourceTypes at the given index.
|
getResourceTypesCount()
public int getResourceTypesCount()
The resource types to run the detector on.
repeated string resource_types = 1;
Returns |
---|
Type | Description |
int | The count of resourceTypes.
|
getResourceTypesList()
public ProtocolStringList getResourceTypesList()
The resource types to run the detector on.
repeated string resource_types = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomConfig.ResourceSelector.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomConfig.ResourceSelector.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CustomConfig.ResourceSelector.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides