Class ViewEntity (2.44.0)

public final class ViewEntity extends GeneratedMessageV3 implements ViewEntityOrBuilder

View's parent is a schema.

Protobuf type google.cloud.clouddms.v1.ViewEntity

Implements

ViewEntityOrBuilder

Static Fields

CONSTRAINTS_FIELD_NUMBER

public static final int CONSTRAINTS_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
Type Description
int

SQL_CODE_FIELD_NUMBER

public static final int SQL_CODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ViewEntity getDefaultInstance()
Returns
Type Description
ViewEntity

getDescriptor()

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

newBuilder()

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

newBuilder(ViewEntity prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConstraints(int index)

public ConstraintEntity getConstraints(int index)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
index int
Returns
Type Description
ConstraintEntity

getConstraintsCount()

public int getConstraintsCount()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
int

getConstraintsList()

public List<ConstraintEntity> getConstraintsList()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
List<ConstraintEntity>

getConstraintsOrBuilder(int index)

public ConstraintEntityOrBuilder getConstraintsOrBuilder(int index)

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Parameter
Name Description
index int
Returns
Type Description
ConstraintEntityOrBuilder

getConstraintsOrBuilderList()

public List<? extends ConstraintEntityOrBuilder> getConstraintsOrBuilderList()

View constraints.

repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3;

Returns
Type Description
List<? extends com.google.cloud.clouddms.v1.ConstraintEntityOrBuilder>

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public ViewEntity getDefaultInstanceForType()
Returns
Type Description
ViewEntity

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSqlCode()

public String getSqlCode()

The SQL code which creates the view.

string sql_code = 1;

Returns
Type Description
String

The sqlCode.

getSqlCodeBytes()

public ByteString getSqlCodeBytes()

The SQL code which creates the view.

string sql_code = 1;

Returns
Type Description
ByteString

The bytes for sqlCode.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
Type Description
boolean

Whether the customFeatures field is set.

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 ViewEntity.Builder newBuilderForType()
Returns
Type Description
ViewEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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