public static final class Feed.Builder extends GeneratedMessage.Builder<Feed.Builder> implements FeedOrBuilderFeed is a resource that contains feed information needed to create a feed.
Protobuf type google.cloud.chronicle.v1.Feed
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Feed.BuilderImplements
FeedOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Feed build()| Returns | |
|---|---|
| Type | Description |
Feed |
|
buildPartial()
public Feed buildPartial()| Returns | |
|---|---|
| Type | Description |
Feed |
|
clear()
public Feed.Builder clear()| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
clearDetails()
public Feed.Builder clearDetails()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 |
Feed.Builder |
|
clearDisplayName()
public Feed.Builder clearDisplayName()Customer-provided feed name.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
clearFailureDetails()
public Feed.Builder clearFailureDetails()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 |
Feed.Builder |
|
clearFailureMsg()
public Feed.Builder clearFailureMsg()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 |
Feed.Builder |
This builder for chaining. |
clearLastFeedInitiationTime()
public Feed.Builder clearLastFeedInitiationTime()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 |
Feed.Builder |
|
clearName()
public Feed.Builder clearName()The resource name of the feed. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
clearReadOnly()
public Feed.Builder clearReadOnly()Output only. Whether this feed can be updated or deleted.
bool read_only = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
clearReferenceId()
public Feed.Builder clearReferenceId()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 |
Feed.Builder |
This builder for chaining. |
clearState()
public Feed.Builder clearState()Output only. State of the feed.
.google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
clearUid()
public Feed.Builder clearUid()Output only. Unique identifier for the feed.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Feed getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Feed |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getDetailsBuilder()
public FeedDetails.Builder getDetailsBuilder()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.Builder |
|
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. |
getFailureDetailsBuilder()
public FeedFailureDetails.Builder getFailureDetailsBuilder()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.Builder |
|
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. |
getLastFeedInitiationTimeBuilder()
public Timestamp.Builder getLastFeedInitiationTimeBuilder()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 |
Builder |
|
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDetails(FeedDetails value)
public Feed.Builder mergeDetails(FeedDetails value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FeedDetails |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
mergeFailureDetails(FeedFailureDetails value)
public Feed.Builder mergeFailureDetails(FeedFailureDetails value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
FeedFailureDetails |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
mergeFrom(Feed other)
public Feed.Builder mergeFrom(Feed other)| Parameter | |
|---|---|
| Name | Description |
other |
Feed |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Feed.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Feed.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
mergeLastFeedInitiationTime(Timestamp value)
public Feed.Builder mergeLastFeedInitiationTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
setDetails(FeedDetails value)
public Feed.Builder setDetails(FeedDetails value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FeedDetails |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
setDetails(FeedDetails.Builder builderForValue)
public Feed.Builder setDetails(FeedDetails.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FeedDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
setDisplayName(String value)
public Feed.Builder setDisplayName(String value)Customer-provided feed name.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Feed.Builder setDisplayNameBytes(ByteString value)Customer-provided feed name.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setFailureDetails(FeedFailureDetails value)
public Feed.Builder setFailureDetails(FeedFailureDetails value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
FeedFailureDetails |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
setFailureDetails(FeedFailureDetails.Builder builderForValue)
public Feed.Builder setFailureDetails(FeedFailureDetails.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FeedFailureDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
setFailureMsg(String value)
public Feed.Builder setFailureMsg(String value)Output only. Details about the most recent failure when feed state is FAILED.
string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe failureMsg to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setFailureMsgBytes(ByteString value)
public Feed.Builder setFailureMsgBytes(ByteString value)Output only. Details about the most recent failure when feed state is FAILED.
string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for failureMsg to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setLastFeedInitiationTime(Timestamp value)
public Feed.Builder setLastFeedInitiationTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
setLastFeedInitiationTime(Timestamp.Builder builderForValue)
public Feed.Builder setLastFeedInitiationTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
|
setName(String value)
public Feed.Builder setName(String value)The resource name of the feed. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Feed.Builder setNameBytes(ByteString value)The resource name of the feed. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setReadOnly(boolean value)
public Feed.Builder setReadOnly(boolean value)Output only. Whether this feed can be updated or deleted.
bool read_only = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe readOnly to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setReferenceId(String value)
public Feed.Builder setReferenceId(String value)Output only. Reference ID, this field will contain the legacy id of the feed.
string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe referenceId to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setReferenceIdBytes(ByteString value)
public Feed.Builder setReferenceIdBytes(ByteString value)Output only. Reference ID, this field will contain the legacy id of the feed.
string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for referenceId to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setState(Feed.State value)
public Feed.Builder setState(Feed.State value)Output only. State of the feed.
.google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Feed.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setStateValue(int value)
public Feed.Builder setStateValue(int value)Output only. State of the feed.
.google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setUid(String value)
public Feed.Builder setUid(String value)Output only. Unique identifier for the feed.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uid to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public Feed.Builder setUidBytes(ByteString value)Output only. Unique identifier for the feed.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uid to set. |
| Returns | |
|---|---|
| Type | Description |
Feed.Builder |
This builder for chaining. |