Class MembershipState.Condition.Builder (1.49.0)

public static final class MembershipState.Condition.Builder extends GeneratedMessageV3.Builder<MembershipState.Condition.Builder> implements MembershipState.ConditionOrBuilder

Condition being reported.

Protobuf type google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipState.Condition build()
Returns
Type Description
MembershipState.Condition

buildPartial()

public MembershipState.Condition buildPartial()
Returns
Type Description
MembershipState.Condition

clear()

public MembershipState.Condition.Builder clear()
Returns
Type Description
MembershipState.Condition.Builder
Overrides

clearCode()

public MembershipState.Condition.Builder clearCode()

Unique identifier of the condition which describes the condition recognizable to the user.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Code code = 1;

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

clearDetails()

public MembershipState.Condition.Builder clearDetails()

A short summary about the issue.

string details = 3;

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

public MembershipState.Condition.Builder clearDocumentationLink()

Links contains actionable information.

string documentation_link = 2;

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipState.Condition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MembershipState.Condition.Builder
Overrides

clearSeverity()

public MembershipState.Condition.Builder clearSeverity()

Severity level of the condition.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Severity severity = 4;

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

clone()

public MembershipState.Condition.Builder clone()
Returns
Type Description
MembershipState.Condition.Builder
Overrides

getCode()

public MembershipState.Condition.Code getCode()

Unique identifier of the condition which describes the condition recognizable to the user.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Code code = 1;

Returns
Type Description
MembershipState.Condition.Code

The code.

getCodeValue()

public int getCodeValue()

Unique identifier of the condition which describes the condition recognizable to the user.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Code code = 1;

Returns
Type Description
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public MembershipState.Condition getDefaultInstanceForType()
Returns
Type Description
MembershipState.Condition

getDescriptorForType()

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

getDetails()

public String getDetails()

A short summary about the issue.

string details = 3;

Returns
Type Description
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

A short summary about the issue.

string details = 3;

Returns
Type Description
ByteString

The bytes for details.

public String getDocumentationLink()

Links contains actionable information.

string documentation_link = 2;

Returns
Type Description
String

The documentationLink.

getDocumentationLinkBytes()

public ByteString getDocumentationLinkBytes()

Links contains actionable information.

string documentation_link = 2;

Returns
Type Description
ByteString

The bytes for documentationLink.

getSeverity()

public MembershipState.Condition.Severity getSeverity()

Severity level of the condition.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Severity severity = 4;

Returns
Type Description
MembershipState.Condition.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

Severity level of the condition.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Severity severity = 4;

Returns
Type Description
int

The enum numeric value on the wire for severity.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MembershipState.Condition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCode(MembershipState.Condition.Code value)

public MembershipState.Condition.Builder setCode(MembershipState.Condition.Code value)

Unique identifier of the condition which describes the condition recognizable to the user.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Code code = 1;

Parameter
Name Description
value MembershipState.Condition.Code

The code to set.

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

setCodeValue(int value)

public MembershipState.Condition.Builder setCodeValue(int value)

Unique identifier of the condition which describes the condition recognizable to the user.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Code code = 1;

Parameter
Name Description
value int

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

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

setDetails(String value)

public MembershipState.Condition.Builder setDetails(String value)

A short summary about the issue.

string details = 3;

Parameter
Name Description
value String

The details to set.

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

public MembershipState.Condition.Builder setDetailsBytes(ByteString value)

A short summary about the issue.

string details = 3;

Parameter
Name Description
value ByteString

The bytes for details to set.

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

public MembershipState.Condition.Builder setDocumentationLink(String value)

Links contains actionable information.

string documentation_link = 2;

Parameter
Name Description
value String

The documentationLink to set.

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

setDocumentationLinkBytes(ByteString value)

public MembershipState.Condition.Builder setDocumentationLinkBytes(ByteString value)

Links contains actionable information.

string documentation_link = 2;

Parameter
Name Description
value ByteString

The bytes for documentationLink to set.

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public MembershipState.Condition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MembershipState.Condition.Builder
Overrides

setSeverity(MembershipState.Condition.Severity value)

public MembershipState.Condition.Builder setSeverity(MembershipState.Condition.Severity value)

Severity level of the condition.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Severity severity = 4;

Parameter
Name Description
value MembershipState.Condition.Severity

The severity to set.

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

setSeverityValue(int value)

public MembershipState.Condition.Builder setSeverityValue(int value)

Severity level of the condition.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition.Severity severity = 4;

Parameter
Name Description
value int

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

Returns
Type Description
MembershipState.Condition.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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