Class ViewSpec.Builder (1.52.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ViewSpec build()
Returns
Type Description
ViewSpec

buildPartial()

public ViewSpec buildPartial()
Returns
Type Description
ViewSpec

clear()

public ViewSpec.Builder clear()
Returns
Type Description
ViewSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ViewSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ViewSpec.Builder

This builder for chaining.

clone()

public ViewSpec.Builder clone()
Returns
Type Description
ViewSpec.Builder
Overrides

getDefaultInstanceForType()

public ViewSpec getDefaultInstanceForType()
Returns
Type Description
ViewSpec

getDescriptorForType()

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

The bytes for viewQuery.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ViewSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ViewSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The viewQuery to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for viewQuery to set.

Returns
Type Description
ViewSpec.Builder

This builder for chaining.