Class SourceProperty (1.102.0)

public final class SourceProperty extends GeneratedMessage implements SourcePropertyOrBuilder

Source property.

Protobuf type google.cloud.datastream.v1.SourceProperty

Static Fields

PRIMARY_KEY_FIELD_NUMBER

public static final int PRIMARY_KEY_FIELD_NUMBER
Field Value
Type Description
int

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_NAME_FIELD_NUMBER

public static final int PROPERTY_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SourceProperty getDefaultInstance()
Returns
Type Description
SourceProperty

getDescriptor()

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

newBuilder()

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

newBuilder(SourceProperty prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SourceProperty getDefaultInstanceForType()
Returns
Type Description
SourceProperty

getParserForType()

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

getPrimaryKey()

public boolean getPrimaryKey()

Optional. Whether or not the property is a primary key.

bool primary_key = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The primaryKey.

getProperties(int index)

public SourceProperty getProperties(int index)

Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

repeated .google.cloud.datastream.v1.SourceProperty properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SourceProperty

getPropertiesCount()

public int getPropertiesCount()

Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

repeated .google.cloud.datastream.v1.SourceProperty properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPropertiesList()

public List<SourceProperty> getPropertiesList()

Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

repeated .google.cloud.datastream.v1.SourceProperty properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SourceProperty>

getPropertiesOrBuilder(int index)

public SourcePropertyOrBuilder getPropertiesOrBuilder(int index)

Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

repeated .google.cloud.datastream.v1.SourceProperty properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SourcePropertyOrBuilder

getPropertiesOrBuilderList()

public List<? extends SourcePropertyOrBuilder> getPropertiesOrBuilderList()

Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

repeated .google.cloud.datastream.v1.SourceProperty properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.datastream.v1.SourcePropertyOrBuilder>

getPropertyName()

public String getPropertyName()

Required. The property name.

string property_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The propertyName.

getPropertyNameBytes()

public ByteString getPropertyNameBytes()

Required. The property name.

string property_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for propertyName.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SourceProperty.Builder newBuilderForType()
Returns
Type Description
SourceProperty.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SourceProperty.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SourceProperty.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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