public final class Prevalence extends GeneratedMessage implements PrevalenceOrBuilderThe prevalence of a resource within the customer's environment. This measures how common it is for assets to access the resource.
Protobuf type google.backstory.Prevalence
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PrevalenceImplements
PrevalenceOrBuilderStatic Fields
DAY_COUNT_FIELD_NUMBER
public static final int DAY_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DAY_MAX_FIELD_NUMBER
public static final int DAY_MAX_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DAY_MAX_SUB_DOMAINS_FIELD_NUMBER
public static final int DAY_MAX_SUB_DOMAINS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ROLLING_MAX_FIELD_NUMBER
public static final int ROLLING_MAX_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ROLLING_MAX_SUB_DOMAINS_FIELD_NUMBER
public static final int ROLLING_MAX_SUB_DOMAINS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Prevalence getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Prevalence.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Prevalence.Builder |
|
newBuilder(Prevalence prototype)
public static Prevalence.Builder newBuilder(Prevalence prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Prevalence |
| Returns | |
|---|---|
| Type | Description |
Prevalence.Builder |
|
parseDelimitedFrom(InputStream input)
public static Prevalence parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Prevalence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Prevalence parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Prevalence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Prevalence parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Prevalence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Prevalence parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Prevalence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Prevalence parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Prevalence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Prevalence parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Prevalence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Prevalence> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Prevalence> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDayCount()
public int getDayCount()The number of days over which rolling_max is calculated.
int32 day_count = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The dayCount. |
getDayMax()
public int getDayMax()The max prevalence score in a day interval window.
int32 day_max = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The dayMax. |
getDayMaxSubDomains()
public int getDayMaxSubDomains()The max prevalence score in a day interval window across sub-domains. This field is only valid for domains.
int32 day_max_sub_domains = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The dayMaxSubDomains. |
getDefaultInstanceForType()
public Prevalence getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Prevalence |
|
getParserForType()
public Parser<Prevalence> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Prevalence> |
|
getRollingMax()
public int getRollingMax()The maximum number of assets per day accessing the resource over the trailing day_count days.
int32 rolling_max = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The rollingMax. |
getRollingMaxSubDomains()
public int getRollingMaxSubDomains()The maximum number of assets per day accessing the domain along with sub-domains over the trailing day_count days. This field is only valid for domains.
int32 rolling_max_sub_domains = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The rollingMaxSubDomains. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Prevalence.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Prevalence.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Prevalence.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Prevalence.Builder |
|
toBuilder()
public Prevalence.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Prevalence.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|