Class FeatureState (1.48.0)

public final class FeatureState extends GeneratedMessageV3 implements FeatureStateOrBuilder

Service Mesh: State for the whole Hub, as analyzed by the Service Mesh Hub Controller.

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

Static Fields

ANALYSIS_MESSAGES_FIELD_NUMBER

public static final int ANALYSIS_MESSAGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeatureState getDefaultInstance()
Returns
Type Description
FeatureState

getDescriptor()

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

newBuilder()

public static FeatureState.Builder newBuilder()
Returns
Type Description
FeatureState.Builder

newBuilder(FeatureState prototype)

public static FeatureState.Builder newBuilder(FeatureState prototype)
Parameter
Name Description
prototype FeatureState
Returns
Type Description
FeatureState.Builder

parseDelimitedFrom(InputStream input)

public static FeatureState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureState
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeatureState parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeatureState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeatureState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeatureState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureState
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeatureState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureState
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeatureState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeatureState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureState
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeatureState> parser()
Returns
Type Description
Parser<FeatureState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnalysisMessages(int index)

public AnalysisMessage getAnalysisMessages(int index)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AnalysisMessage

getAnalysisMessagesCount()

public int getAnalysisMessagesCount()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAnalysisMessagesList()

public List<AnalysisMessage> getAnalysisMessagesList()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AnalysisMessage>

getAnalysisMessagesOrBuilder(int index)

public AnalysisMessageOrBuilder getAnalysisMessagesOrBuilder(int index)

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AnalysisMessageOrBuilder

getAnalysisMessagesOrBuilderList()

public List<? extends AnalysisMessageOrBuilder> getAnalysisMessagesOrBuilderList()

Output only. Results of running Service Mesh analyzers.

repeated .google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage analysis_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageOrBuilder>

getDefaultInstanceForType()

public FeatureState getDefaultInstanceForType()
Returns
Type Description
FeatureState

getParserForType()

public Parser<FeatureState> getParserForType()
Returns
Type Description
Parser<FeatureState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeatureState.Builder newBuilderForType()
Returns
Type Description
FeatureState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeatureState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FeatureState.Builder toBuilder()
Returns
Type Description
FeatureState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException