Class Feed (0.37.0)

public final class Feed extends GeneratedMessage implements FeedOrBuilder

Feed is a resource that contains feed information needed to create a feed.

Protobuf type google.cloud.chronicle.v1.Feed

Implements

FeedOrBuilder

Static Fields

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

FAILURE_DETAILS_FIELD_NUMBER

public static final int FAILURE_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

FAILURE_MSG_FIELD_NUMBER

public static final int FAILURE_MSG_FIELD_NUMBER
Field Value
Type Description
int

LAST_FEED_INITIATION_TIME_FIELD_NUMBER

public static final int LAST_FEED_INITIATION_TIME_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

REFERENCE_ID_FIELD_NUMBER

public static final int REFERENCE_ID_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Feed getDefaultInstance()
Returns
Type Description
Feed

getDescriptor()

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

newBuilder()

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

newBuilder(Feed prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Feed getDefaultInstanceForType()
Returns
Type Description
Feed

getDetails()

public FeedDetails getDetails()

Additional details of the feed, these details are dynamic and will be different for each of the feeds.

.google.cloud.chronicle.v1.FeedDetails details = 3;

Returns
Type Description
FeedDetails

The details.

getDetailsOrBuilder()

public FeedDetailsOrBuilder getDetailsOrBuilder()

Additional details of the feed, these details are dynamic and will be different for each of the feeds.

.google.cloud.chronicle.v1.FeedDetails details = 3;

Returns
Type Description
FeedDetailsOrBuilder

getDisplayName()

public String getDisplayName()

Customer-provided feed name.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Customer-provided feed name.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getFailureDetails()

public FeedFailureDetails getFailureDetails()

Output only. Failure details for the feed. If the feed is in the failure state, this field will contain the details of the error cause and actions.

.google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeedFailureDetails

The failureDetails.

getFailureDetailsOrBuilder()

public FeedFailureDetailsOrBuilder getFailureDetailsOrBuilder()

Output only. Failure details for the feed. If the feed is in the failure state, this field will contain the details of the error cause and actions.

.google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FeedFailureDetailsOrBuilder

getFailureMsg()

public String getFailureMsg()

Output only. Details about the most recent failure when feed state is FAILED.

string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The failureMsg.

getFailureMsgBytes()

public ByteString getFailureMsgBytes()

Output only. Details about the most recent failure when feed state is FAILED.

string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for failureMsg.

getLastFeedInitiationTime()

public Timestamp getLastFeedInitiationTime()

Output only. Latest timestamp when the transfer was successful for the feed.

.google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastFeedInitiationTime.

getLastFeedInitiationTimeOrBuilder()

public TimestampOrBuilder getLastFeedInitiationTimeOrBuilder()

Output only. Latest timestamp when the transfer was successful for the feed.

.google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public String getName()

The resource name of the feed. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the feed. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getReadOnly()

public boolean getReadOnly()

Output only. Whether this feed can be updated or deleted.

bool read_only = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The readOnly.

getReferenceId()

public String getReferenceId()

Output only. Reference ID, this field will contain the legacy id of the feed.

string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The referenceId.

getReferenceIdBytes()

public ByteString getReferenceIdBytes()

Output only. Reference ID, this field will contain the legacy id of the feed.

string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for referenceId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public Feed.State getState()

Output only. State of the feed.

.google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Feed.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the feed.

.google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUid()

public String getUid()

Output only. Unique identifier for the feed.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. Unique identifier for the feed.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for uid.

hasDetails()

public boolean hasDetails()

Additional details of the feed, these details are dynamic and will be different for each of the feeds.

.google.cloud.chronicle.v1.FeedDetails details = 3;

Returns
Type Description
boolean

Whether the details field is set.

hasFailureDetails()

public boolean hasFailureDetails()

Output only. Failure details for the feed. If the feed is in the failure state, this field will contain the details of the error cause and actions.

.google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the failureDetails field is set.

hasLastFeedInitiationTime()

public boolean hasLastFeedInitiationTime()

Output only. Latest timestamp when the transfer was successful for the feed.

.google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastFeedInitiationTime field is set.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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