Package com.google.cloud.asset.v1
Class Feed
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.asset.v1.Feed
-
- All Implemented Interfaces:
FeedOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Feed extends com.google.protobuf.GeneratedMessageV3 implements FeedOrBuilder
An asset feed used to export asset updates to a destinations. An asset feed filter controls what updates are exported. The asset feed must be created within a project, organization, or folder. Supported destinations are: Pub/Sub topics.
Protobuf typegoogle.cloud.asset.v1.Feed
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Feed.Builder
An asset feed used to export asset updates to a destinations.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ASSET_NAMES_FIELD_NUMBER
static int
ASSET_TYPES_FIELD_NUMBER
static int
CONDITION_FIELD_NUMBER
static int
CONTENT_TYPE_FIELD_NUMBER
static int
FEED_OUTPUT_CONFIG_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
RELATIONSHIP_TYPES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAssetNames(int index)
A list of the full names of the assets to receive updates.com.google.protobuf.ByteString
getAssetNamesBytes(int index)
A list of the full names of the assets to receive updates.int
getAssetNamesCount()
A list of the full names of the assets to receive updates.com.google.protobuf.ProtocolStringList
getAssetNamesList()
A list of the full names of the assets to receive updates.String
getAssetTypes(int index)
A list of types of the assets to receive updates.com.google.protobuf.ByteString
getAssetTypesBytes(int index)
A list of types of the assets to receive updates.int
getAssetTypesCount()
A list of types of the assets to receive updates.com.google.protobuf.ProtocolStringList
getAssetTypesList()
A list of types of the assets to receive updates.com.google.type.Expr
getCondition()
A condition which determines whether an asset update should be published.com.google.type.ExprOrBuilder
getConditionOrBuilder()
A condition which determines whether an asset update should be published.ContentType
getContentType()
Asset content type.int
getContentTypeValue()
Asset content type.static Feed
getDefaultInstance()
Feed
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
FeedOutputConfig
getFeedOutputConfig()
Required.FeedOutputConfigOrBuilder
getFeedOutputConfigOrBuilder()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.com.google.protobuf.Parser<Feed>
getParserForType()
String
getRelationshipTypes(int index)
A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`.com.google.protobuf.ByteString
getRelationshipTypesBytes(int index)
A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`.int
getRelationshipTypesCount()
A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`.com.google.protobuf.ProtocolStringList
getRelationshipTypesList()
A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`.int
getSerializedSize()
boolean
hasCondition()
A condition which determines whether an asset update should be published.boolean
hasFeedOutputConfig()
Required.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Feed.Builder
newBuilder()
static Feed.Builder
newBuilder(Feed prototype)
Feed.Builder
newBuilderForType()
protected Feed.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Feed
parseDelimitedFrom(InputStream input)
static Feed
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feed
parseFrom(byte[] data)
static Feed
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feed
parseFrom(com.google.protobuf.ByteString data)
static Feed
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feed
parseFrom(com.google.protobuf.CodedInputStream input)
static Feed
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feed
parseFrom(InputStream input)
static Feed
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feed
parseFrom(ByteBuffer data)
static Feed
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Feed>
parser()
Feed.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_NAMES_FIELD_NUMBER
public static final int ASSET_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_TYPES_FIELD_NUMBER
public static final int ASSET_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENT_TYPE_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEED_OUTPUT_CONFIG_FIELD_NUMBER
public static final int FEED_OUTPUT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATIONSHIP_TYPES_FIELD_NUMBER
public static final int RELATIONSHIP_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getName
in interfaceFeedOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNameBytes
in interfaceFeedOrBuilder
- Returns:
- The bytes for name.
-
getAssetNamesList
public com.google.protobuf.ProtocolStringList getAssetNamesList()
A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).
repeated string asset_names = 2;
- Specified by:
getAssetNamesList
in interfaceFeedOrBuilder
- Returns:
- A list containing the assetNames.
-
getAssetNamesCount
public int getAssetNamesCount()
A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).
repeated string asset_names = 2;
- Specified by:
getAssetNamesCount
in interfaceFeedOrBuilder
- Returns:
- The count of assetNames.
-
getAssetNames
public String getAssetNames(int index)
A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).
repeated string asset_names = 2;
- Specified by:
getAssetNames
in interfaceFeedOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The assetNames at the given index.
-
getAssetNamesBytes
public com.google.protobuf.ByteString getAssetNamesBytes(int index)
A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).
repeated string asset_names = 2;
- Specified by:
getAssetNamesBytes
in interfaceFeedOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the assetNames at the given index.
-
getAssetTypesList
public com.google.protobuf.ProtocolStringList getAssetTypesList()
A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).
repeated string asset_types = 3;
- Specified by:
getAssetTypesList
in interfaceFeedOrBuilder
- Returns:
- A list containing the assetTypes.
-
getAssetTypesCount
public int getAssetTypesCount()
A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).
repeated string asset_types = 3;
- Specified by:
getAssetTypesCount
in interfaceFeedOrBuilder
- Returns:
- The count of assetTypes.
-
getAssetTypes
public String getAssetTypes(int index)
A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).
repeated string asset_types = 3;
- Specified by:
getAssetTypes
in interfaceFeedOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The assetTypes at the given index.
-
getAssetTypesBytes
public com.google.protobuf.ByteString getAssetTypesBytes(int index)
A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).
repeated string asset_types = 3;
- Specified by:
getAssetTypesBytes
in interfaceFeedOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the assetTypes at the given index.
-
getContentTypeValue
public int getContentTypeValue()
Asset content type. If not specified, no content but the asset name and type will be returned.
.google.cloud.asset.v1.ContentType content_type = 4;
- Specified by:
getContentTypeValue
in interfaceFeedOrBuilder
- Returns:
- The enum numeric value on the wire for contentType.
-
getContentType
public ContentType getContentType()
Asset content type. If not specified, no content but the asset name and type will be returned.
.google.cloud.asset.v1.ContentType content_type = 4;
- Specified by:
getContentType
in interfaceFeedOrBuilder
- Returns:
- The contentType.
-
hasFeedOutputConfig
public boolean hasFeedOutputConfig()
Required. Feed output configuration defining where the asset updates are published to.
.google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasFeedOutputConfig
in interfaceFeedOrBuilder
- Returns:
- Whether the feedOutputConfig field is set.
-
getFeedOutputConfig
public FeedOutputConfig getFeedOutputConfig()
Required. Feed output configuration defining where the asset updates are published to.
.google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeedOutputConfig
in interfaceFeedOrBuilder
- Returns:
- The feedOutputConfig.
-
getFeedOutputConfigOrBuilder
public FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder()
Required. Feed output configuration defining where the asset updates are published to.
.google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeedOutputConfigOrBuilder
in interfaceFeedOrBuilder
-
hasCondition
public boolean hasCondition()
A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions.
.google.type.Expr condition = 6;
- Specified by:
hasCondition
in interfaceFeedOrBuilder
- Returns:
- Whether the condition field is set.
-
getCondition
public com.google.type.Expr getCondition()
A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions.
.google.type.Expr condition = 6;
- Specified by:
getCondition
in interfaceFeedOrBuilder
- Returns:
- The condition.
-
getConditionOrBuilder
public com.google.type.ExprOrBuilder getConditionOrBuilder()
A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions.
.google.type.Expr condition = 6;
- Specified by:
getConditionOrBuilder
in interfaceFeedOrBuilder
-
getRelationshipTypesList
public com.google.protobuf.ProtocolStringList getRelationshipTypesList()
A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 7;
- Specified by:
getRelationshipTypesList
in interfaceFeedOrBuilder
- Returns:
- A list containing the relationshipTypes.
-
getRelationshipTypesCount
public int getRelationshipTypesCount()
A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 7;
- Specified by:
getRelationshipTypesCount
in interfaceFeedOrBuilder
- Returns:
- The count of relationshipTypes.
-
getRelationshipTypes
public String getRelationshipTypes(int index)
A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 7;
- Specified by:
getRelationshipTypes
in interfaceFeedOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The relationshipTypes at the given index.
-
getRelationshipTypesBytes
public com.google.protobuf.ByteString getRelationshipTypesBytes(int index)
A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 7;
- Specified by:
getRelationshipTypesBytes
in interfaceFeedOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the relationshipTypes at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Feed parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feed parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feed parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feed parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feed parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feed parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feed parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Feed parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Feed parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Feed parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Feed parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Feed parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Feed.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Feed.Builder newBuilder()
-
newBuilder
public static Feed.Builder newBuilder(Feed prototype)
-
toBuilder
public Feed.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Feed.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Feed getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Feed> parser()
-
getParserForType
public com.google.protobuf.Parser<Feed> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Feed getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-