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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
newBuilder()
public static Feed.Builder newBuilder()
newBuilder(Feed prototype)
public static Feed.Builder newBuilder(Feed prototype)
| Parameter |
| Name |
Description |
prototype |
Feed
|
public static Feed parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Feed |
|
public static Feed parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Feed |
|
parseFrom(byte[] data)
public static Feed parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Feed |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Feed parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Feed |
|
parseFrom(ByteString data)
public static Feed parseFrom(ByteString data)
| Returns |
| Type |
Description |
Feed |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Feed parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Feed |
|
public static Feed parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Feed |
|
public static Feed parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Feed |
|
public static Feed parseFrom(InputStream input)
| Returns |
| Type |
Description |
Feed |
|
public static Feed parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Feed |
|
parseFrom(ByteBuffer data)
public static Feed parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Feed |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Feed parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Feed |
|
parser()
public static Parser<Feed> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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;
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;
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];
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];
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];
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()
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];
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()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Feed.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Feed.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Feed.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides