public static final class CustomConfig.ResourceSelector extends GeneratedMessageV3 implements CustomConfig.ResourceSelectorOrBuilder
Resource for selecting resource type.
Protobuf type google.cloud.securitycentermanagement.v1.CustomConfig.ResourceSelector
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomConfig.ResourceSelectorImplements
CustomConfig.ResourceSelectorOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CustomConfig.ResourceSelector.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector.Builder |
newBuilder(CustomConfig.ResourceSelector prototype)
public static CustomConfig.ResourceSelector.Builder newBuilder(CustomConfig.ResourceSelector prototype)
Parameter | |
---|---|
Name | Description |
prototype | CustomConfig.ResourceSelector |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector.Builder |
parseDelimitedFrom(InputStream input)
public static CustomConfig.ResourceSelector parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CustomConfig.ResourceSelector parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CustomConfig.ResourceSelector parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CustomConfig.ResourceSelector parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CustomConfig.ResourceSelector parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CustomConfig.ResourceSelector parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.ResourceSelector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CustomConfig.ResourceSelector> parser()
Returns | |
---|---|
Type | Description |
Parser<ResourceSelector> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CustomConfig.ResourceSelector getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector |
getParserForType()
public Parser<CustomConfig.ResourceSelector> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ResourceSelector> |
getResourceTypes(int index)
public String getResourceTypes(int index)
Optional. The resource types to run the detector on.
repeated string resource_types = 1 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. The resource types to run the detector on.
repeated string resource_types = 1 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. The resource types to run the detector on.
repeated string resource_types = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The count of resourceTypes. |
getResourceTypesList()
public ProtocolStringList getResourceTypesList()
Optional. The resource types to run the detector on.
repeated string resource_types = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the resourceTypes. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CustomConfig.ResourceSelector.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomConfig.ResourceSelector.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CustomConfig.ResourceSelector.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CustomConfig.ResourceSelector.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |