Class ViewEntity (2.26.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
TypeDescription
int

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
TypeDescription
int

SQL_CODE_FIELD_NUMBER

public static final int SQL_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ViewEntity getDefaultInstance()
Returns
TypeDescription
ViewEntity

getDescriptor()

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

newBuilder()

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

newBuilder(ViewEntity prototype)

public static ViewEntity.Builder newBuilder(ViewEntity prototype)
Parameter
NameDescription
prototypeViewEntity
Returns
TypeDescription
ViewEntity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConstraints(int index)

public ConstraintEntity getConstraints(int index)

View constraints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ConstraintEntity

getConstraintsCount()

public int getConstraintsCount()

View constraints.

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

Returns
TypeDescription
int

getConstraintsList()

public List<ConstraintEntity> getConstraintsList()

View constraints.

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

Returns
TypeDescription
List<ConstraintEntity>

getConstraintsOrBuilder(int index)

public ConstraintEntityOrBuilder getConstraintsOrBuilder(int index)

View constraints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ConstraintEntityOrBuilder

getConstraintsOrBuilderList()

public List<? extends ConstraintEntityOrBuilder> getConstraintsOrBuilderList()

View constraints.

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

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

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public ViewEntity getDefaultInstanceForType()
Returns
TypeDescription
ViewEntity

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSqlCode()

public String getSqlCode()

The SQL code which creates the view.

string sql_code = 1;

Returns
TypeDescription
String

The sqlCode.

getSqlCodeBytes()

public ByteString getSqlCodeBytes()

The SQL code which creates the view.

string sql_code = 1;

Returns
TypeDescription
ByteString

The bytes for sqlCode.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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