Class Criticality.Builder (0.18.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Criticality.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Criticality.Builder
Overrides

build()

public Criticality build()
Returns
Type Description
Criticality

buildPartial()

public Criticality buildPartial()
Returns
Type Description
Criticality

clear()

public Criticality.Builder clear()
Returns
Type Description
Criticality.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Criticality.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Criticality.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Criticality.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
Criticality.Builder

This builder for chaining.

clone()

public Criticality.Builder clone()
Returns
Type Description
Criticality.Builder
Overrides

getDefaultInstanceForType()

public Criticality getDefaultInstanceForType()
Returns
Type Description
Criticality

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getType()

public Criticality.Type getType()

Required. Criticality Type.

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

Returns
Type Description
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
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Criticality other)

public Criticality.Builder mergeFrom(Criticality other)
Parameter
Name Description
other Criticality
Returns
Type Description
Criticality.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Criticality.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Criticality.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Criticality.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Criticality.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Criticality.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Criticality.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Criticality.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Criticality.Builder
Overrides

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

public Criticality.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Criticality.Type

The type to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
Criticality.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Criticality.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Criticality.Builder
Overrides