Class ViewSpec.Builder (1.36.0)

public static final class ViewSpec.Builder extends GeneratedMessageV3.Builder<ViewSpec.Builder> implements ViewSpecOrBuilder

Table view specification.

Protobuf type google.cloud.datacatalog.v1beta1.ViewSpec

Implements

ViewSpecOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ViewSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ViewSpec.Builder
Overrides

build()

public ViewSpec build()
Returns
TypeDescription
ViewSpec

buildPartial()

public ViewSpec buildPartial()
Returns
TypeDescription
ViewSpec

clear()

public ViewSpec.Builder clear()
Returns
TypeDescription
ViewSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ViewSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ViewSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ViewSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ViewSpec.Builder
Overrides

clearViewQuery()

public ViewSpec.Builder clearViewQuery()

Output only. The query that defines the table view.

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

Returns
TypeDescription
ViewSpec.Builder

This builder for chaining.

clone()

public ViewSpec.Builder clone()
Returns
TypeDescription
ViewSpec.Builder
Overrides

getDefaultInstanceForType()

public ViewSpec getDefaultInstanceForType()
Returns
TypeDescription
ViewSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ViewSpec other)

public ViewSpec.Builder mergeFrom(ViewSpec other)
Parameter
NameDescription
otherViewSpec
Returns
TypeDescription
ViewSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ViewSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ViewSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ViewSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ViewSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ViewSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ViewSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ViewSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ViewSpec.Builder
Overrides

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

public ViewSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ViewSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ViewSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ViewSpec.Builder
Overrides

setViewQuery(String value)

public ViewSpec.Builder setViewQuery(String value)

Output only. The query that defines the table view.

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

Parameter
NameDescription
valueString

The viewQuery to set.

Returns
TypeDescription
ViewSpec.Builder

This builder for chaining.

setViewQueryBytes(ByteString value)

public ViewSpec.Builder setViewQueryBytes(ByteString value)

Output only. The query that defines the table view.

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

Parameter
NameDescription
valueByteString

The bytes for viewQuery to set.

Returns
TypeDescription
ViewSpec.Builder

This builder for chaining.