public static final class CustomConfig.ResourceSelector extends GeneratedMessageV3 implements CustomConfig.ResourceSelectorOrBuilder
Resource for selecting resource type.
Protobuf type google.cloud.securityposture.v1.CustomConfig.ResourceSelector
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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)
parseDelimitedFrom(InputStream input)
public static CustomConfig.ResourceSelector parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
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)
parseFrom(CodedInputStream input)
public static CustomConfig.ResourceSelector parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static CustomConfig.ResourceSelector parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
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)
Required. The resource types to run the detector on.
repeated string resource_types = 1 [(.google.api.field_behavior) = REQUIRED];
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)
Required. The resource types to run the detector on.
repeated string resource_types = 1 [(.google.api.field_behavior) = REQUIRED];
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()
Required. The resource types to run the detector on.
repeated string resource_types = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The count of resourceTypes.
|
getResourceTypesList()
public ProtocolStringList getResourceTypesList()
Required. The resource types to run the detector on.
repeated string resource_types = 1 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CustomConfig.ResourceSelector.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides