Class AnalysisMessageBase.Builder (1.46.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalysisMessageBase build()
Returns
Type Description
AnalysisMessageBase

buildPartial()

public AnalysisMessageBase buildPartial()
Returns
Type Description
AnalysisMessageBase

clear()

public AnalysisMessageBase.Builder clear()
Returns
Type Description
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
Type Description
AnalysisMessageBase.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLevel()

public AnalysisMessageBase.Builder clearLevel()

Represents how severe a message is.

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

Returns
Type Description
AnalysisMessageBase.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AnalysisMessageBase getDefaultInstanceForType()
Returns
Type Description
AnalysisMessageBase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
AnalysisMessageBase.Level

The level.

getLevelValue()

public int getLevelValue()

Represents how severe a message is.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
AnalysisMessageBase.TypeOrBuilder

hasType()

public boolean hasType()

Represents the specific type of a message.

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

Returns
Type Description
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalysisMessageBase other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalysisMessageBase.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value AnalysisMessageBase.Type
Returns
Type Description
AnalysisMessageBase.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisMessageBase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The documentationUrl to set.

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

The bytes for documentationUrl to set.

Returns
Type Description
AnalysisMessageBase.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AnalysisMessageBase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value AnalysisMessageBase.Level

The level to set.

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

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value AnalysisMessageBase.Type
Returns
Type Description
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
Name Description
builderForValue AnalysisMessageBase.Type.Builder
Returns
Type Description
AnalysisMessageBase.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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