Class ViewSpec (1.26.0)

public final class ViewSpec extends GeneratedMessageV3 implements ViewSpecOrBuilder

Table view specification.

Protobuf type google.cloud.datacatalog.v1.ViewSpec

Implements

ViewSpecOrBuilder

Static Fields

VIEW_QUERY_FIELD_NUMBER

public static final int VIEW_QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ViewSpec getDefaultInstance()
Returns
TypeDescription
ViewSpec

getDescriptor()

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

newBuilder()

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

newBuilder(ViewSpec prototype)

public static ViewSpec.Builder newBuilder(ViewSpec prototype)
Parameter
NameDescription
prototypeViewSpec
Returns
TypeDescription
ViewSpec.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ViewSpec getDefaultInstanceForType()
Returns
TypeDescription
ViewSpec

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getViewQuery()

public String getViewQuery()

Output only. The query that defines the table view.

string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The viewQuery.

getViewQueryBytes()

public ByteString getViewQueryBytes()

Output only. The query that defines the table view.

string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for viewQuery.

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 ViewSpec.Builder newBuilderForType()
Returns
TypeDescription
ViewSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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