Class ToolNameMatchSpec (3.41.0)

public final class ToolNameMatchSpec extends GeneratedMessageV3 implements ToolNameMatchSpecOrBuilder

Spec for tool name match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolNameMatchSpec

Static Methods

getDefaultInstance()

public static ToolNameMatchSpec getDefaultInstance()
Returns
TypeDescription
ToolNameMatchSpec

getDescriptor()

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

newBuilder()

public static ToolNameMatchSpec.Builder newBuilder()
Returns
TypeDescription
ToolNameMatchSpec.Builder

newBuilder(ToolNameMatchSpec prototype)

public static ToolNameMatchSpec.Builder newBuilder(ToolNameMatchSpec prototype)
Parameter
NameDescription
prototypeToolNameMatchSpec
Returns
TypeDescription
ToolNameMatchSpec.Builder

parseDelimitedFrom(InputStream input)

public static ToolNameMatchSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolNameMatchSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ToolNameMatchSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ToolNameMatchSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ToolNameMatchSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ToolNameMatchSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ToolNameMatchSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolNameMatchSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ToolNameMatchSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolNameMatchSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ToolNameMatchSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ToolNameMatchSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolNameMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ToolNameMatchSpec> parser()
Returns
TypeDescription
Parser<ToolNameMatchSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ToolNameMatchSpec getDefaultInstanceForType()
Returns
TypeDescription
ToolNameMatchSpec

getParserForType()

public Parser<ToolNameMatchSpec> getParserForType()
Returns
TypeDescription
Parser<ToolNameMatchSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ToolNameMatchSpec.Builder newBuilderForType()
Returns
TypeDescription
ToolNameMatchSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ToolNameMatchSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ToolNameMatchSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ToolNameMatchSpec.Builder toBuilder()
Returns
TypeDescription
ToolNameMatchSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException