Class AnalysisMessageBase.Builder (1.3.6)

public static final class AnalysisMessageBase.Builder extends GeneratedMessageV3.Builder<AnalysisMessageBase.Builder> implements AnalysisMessageBaseOrBuilder

AnalysisMessageBase describes some common information that is needed for all messages.

Protobuf type google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalysisMessageBase build()
Returns
TypeDescription
AnalysisMessageBase

buildPartial()

public AnalysisMessageBase buildPartial()
Returns
TypeDescription
AnalysisMessageBase

clear()

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

clearDocumentationUrl()

public AnalysisMessageBase.Builder clearDocumentationUrl()

A url pointing to the Service Mesh or Istio documentation for this specific error type.

string documentation_url = 3;

Returns
TypeDescription
AnalysisMessageBase.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLevel()

public AnalysisMessageBase.Builder clearLevel()

Represents how severe a message is.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level level = 2;

Returns
TypeDescription
AnalysisMessageBase.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public AnalysisMessageBase.Builder clearType()

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Returns
TypeDescription
AnalysisMessageBase.Builder

clone()

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

getDefaultInstanceForType()

public AnalysisMessageBase getDefaultInstanceForType()
Returns
TypeDescription
AnalysisMessageBase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocumentationUrl()

public String getDocumentationUrl()

A url pointing to the Service Mesh or Istio documentation for this specific error type.

string documentation_url = 3;

Returns
TypeDescription
String

The documentationUrl.

getDocumentationUrlBytes()

public ByteString getDocumentationUrlBytes()

A url pointing to the Service Mesh or Istio documentation for this specific error type.

string documentation_url = 3;

Returns
TypeDescription
ByteString

The bytes for documentationUrl.

getLevel()

public AnalysisMessageBase.Level getLevel()

Represents how severe a message is.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level level = 2;

Returns
TypeDescription
AnalysisMessageBase.Level

The level.

getLevelValue()

public int getLevelValue()

Represents how severe a message is.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level level = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for level.

getType()

public AnalysisMessageBase.Type getType()

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Returns
TypeDescription
AnalysisMessageBase.Type

The type.

getTypeBuilder()

public AnalysisMessageBase.Type.Builder getTypeBuilder()

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Returns
TypeDescription
AnalysisMessageBase.Type.Builder

getTypeOrBuilder()

public AnalysisMessageBase.TypeOrBuilder getTypeOrBuilder()

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Returns
TypeDescription
AnalysisMessageBase.TypeOrBuilder

hasType()

public boolean hasType()

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Returns
TypeDescription
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalysisMessageBase other)

public AnalysisMessageBase.Builder mergeFrom(AnalysisMessageBase other)
Parameter
NameDescription
otherAnalysisMessageBase
Returns
TypeDescription
AnalysisMessageBase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeType(AnalysisMessageBase.Type value)

public AnalysisMessageBase.Builder mergeType(AnalysisMessageBase.Type value)

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Parameter
NameDescription
valueAnalysisMessageBase.Type
Returns
TypeDescription
AnalysisMessageBase.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDocumentationUrl(String value)

public AnalysisMessageBase.Builder setDocumentationUrl(String value)

A url pointing to the Service Mesh or Istio documentation for this specific error type.

string documentation_url = 3;

Parameter
NameDescription
valueString

The documentationUrl to set.

Returns
TypeDescription
AnalysisMessageBase.Builder

This builder for chaining.

setDocumentationUrlBytes(ByteString value)

public AnalysisMessageBase.Builder setDocumentationUrlBytes(ByteString value)

A url pointing to the Service Mesh or Istio documentation for this specific error type.

string documentation_url = 3;

Parameter
NameDescription
valueByteString

The bytes for documentationUrl to set.

Returns
TypeDescription
AnalysisMessageBase.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLevel(AnalysisMessageBase.Level value)

public AnalysisMessageBase.Builder setLevel(AnalysisMessageBase.Level value)

Represents how severe a message is.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level level = 2;

Parameter
NameDescription
valueAnalysisMessageBase.Level

The level to set.

Returns
TypeDescription
AnalysisMessageBase.Builder

This builder for chaining.

setLevelValue(int value)

public AnalysisMessageBase.Builder setLevelValue(int value)

Represents how severe a message is.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level level = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
AnalysisMessageBase.Builder

This builder for chaining.

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

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

setType(AnalysisMessageBase.Type value)

public AnalysisMessageBase.Builder setType(AnalysisMessageBase.Type value)

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Parameter
NameDescription
valueAnalysisMessageBase.Type
Returns
TypeDescription
AnalysisMessageBase.Builder

setType(AnalysisMessageBase.Type.Builder builderForValue)

public AnalysisMessageBase.Builder setType(AnalysisMessageBase.Type.Builder builderForValue)

Represents the specific type of a message.

.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type type = 1;

Parameter
NameDescription
builderForValueAnalysisMessageBase.Type.Builder
Returns
TypeDescription
AnalysisMessageBase.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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