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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Criticality.BuilderImplements
CriticalityOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public Criticality.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Criticality.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Criticality.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Criticality.Builder |
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 |
getDefaultInstanceForType()
public Criticality getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Criticality |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Criticality.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Criticality.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Criticality.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Criticality.Builder |
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 |
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 |
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 |