Class Criticality (0.3.0)

public final class Criticality extends GeneratedMessageV3 implements CriticalityOrBuilder

Criticality of the Application, Service, or Workload

Protobuf type google.cloud.apphub.v1.Criticality

Static Fields

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Criticality getDefaultInstance()
Returns
TypeDescription
Criticality

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Criticality.Builder newBuilder()
Returns
TypeDescription
Criticality.Builder

newBuilder(Criticality prototype)

public static Criticality.Builder newBuilder(Criticality prototype)
Parameter
NameDescription
prototypeCriticality
Returns
TypeDescription
Criticality.Builder

parseDelimitedFrom(InputStream input)

public static Criticality parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Criticality parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Criticality parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Criticality parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Criticality parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Criticality parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Criticality parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Criticality parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Criticality parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Criticality parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Criticality parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Criticality parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Criticality
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Criticality> parser()
Returns
TypeDescription
Parser<Criticality>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Criticality getDefaultInstanceForType()
Returns
TypeDescription
Criticality

getParserForType()

public Parser<Criticality> getParserForType()
Returns
TypeDescription
Parser<Criticality>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public Criticality.Type getType()

Required. Criticality Type.

.google.cloud.apphub.v1.Criticality.Type type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Criticality.Type

The type.

getTypeValue()

public int getTypeValue()

Required. Criticality Type.

.google.cloud.apphub.v1.Criticality.Type type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Criticality.Builder newBuilderForType()
Returns
TypeDescription
Criticality.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Criticality.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Criticality.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Criticality.Builder toBuilder()
Returns
TypeDescription
Criticality.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException