Class Criticality.Builder (0.4.0)

public static final class Criticality.Builder extends GeneratedMessageV3.Builder<Criticality.Builder> implements CriticalityOrBuilder

Criticality of the Application, Service, or Workload

Protobuf type google.cloud.apphub.v1.Criticality

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Criticality.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Criticality.Builder
Overrides

build()

public Criticality build()
Returns
TypeDescription
Criticality

buildPartial()

public Criticality buildPartial()
Returns
TypeDescription
Criticality

clear()

public Criticality.Builder clear()
Returns
TypeDescription
Criticality.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Criticality.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Criticality.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Criticality.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Criticality.Builder
Overrides

clearType()

public Criticality.Builder clearType()

Required. Criticality Type.

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

Returns
TypeDescription
Criticality.Builder

This builder for chaining.

clone()

public Criticality.Builder clone()
Returns
TypeDescription
Criticality.Builder
Overrides

getDefaultInstanceForType()

public Criticality getDefaultInstanceForType()
Returns
TypeDescription
Criticality

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Criticality other)

public Criticality.Builder mergeFrom(Criticality other)
Parameter
NameDescription
otherCriticality
Returns
TypeDescription
Criticality.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Criticality.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Criticality.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Criticality.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Criticality.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Criticality.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Criticality.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Criticality.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Criticality.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Criticality.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Criticality.Builder
Overrides

setType(Criticality.Type value)

public Criticality.Builder setType(Criticality.Type value)

Required. Criticality Type.

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

Parameter
NameDescription
valueCriticality.Type

The type to set.

Returns
TypeDescription
Criticality.Builder

This builder for chaining.

setTypeValue(int value)

public Criticality.Builder setTypeValue(int value)

Required. Criticality Type.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
Criticality.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Criticality.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Criticality.Builder
Overrides