Class FeedSourceTypeSchema (0.37.0)

public final class FeedSourceTypeSchema extends GeneratedMessage implements FeedSourceTypeSchemaOrBuilder

Metadata that pertains to feed source types (see Feed.FeedDetails.FeedSourceType) that is useful for building interfaces to construct valid Feed messages.

Protobuf type google.cloud.chronicle.v1.FeedSourceTypeSchema

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

FEED_SOURCE_TYPE_FIELD_NUMBER

public static final int FEED_SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

READ_ONLY_FIELD_NUMBER

public static final int READ_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeedSourceTypeSchema getDefaultInstance()
Returns
Type Description
FeedSourceTypeSchema

getDescriptor()

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

newBuilder()

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

newBuilder(FeedSourceTypeSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FeedSourceTypeSchema getDefaultInstanceForType()
Returns
Type Description
FeedSourceTypeSchema

getDescription()

public String getDescription()

A human-readable description for this feed source type.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable description for this feed source type.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

A human-readable name for this feed source type.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A human-readable name for this feed source type.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getFeedSourceType()

public FeedDetails.FeedSourceType getFeedSourceType()

The value to be used in the details.feed_source_type field in the Feed message.

.google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5;

Returns
Type Description
FeedDetails.FeedSourceType

The feedSourceType.

getFeedSourceTypeValue()

public int getFeedSourceTypeValue()

The value to be used in the details.feed_source_type field in the Feed message.

.google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5;

Returns
Type Description
int

The enum numeric value on the wire for feedSourceType.

getName()

public String getName()

The resource name for this FeedSourceTypeSchema. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name for this FeedSourceTypeSchema. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getReadOnly()

public boolean getReadOnly()

Whether feeds having this source type, while they are expected to exist, should not be modified (created, edited, or deleted).

bool read_only = 4;

Returns
Type Description
boolean

The readOnly.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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