public final class UpdateFeedRequest extends GeneratedMessageV3 implements UpdateFeedRequestOrBuilder
Update asset feed request.
Protobuf type google.cloud.asset.v1.UpdateFeedRequest
Static Fields
FEED_FIELD_NUMBER
public static final int FEED_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateFeedRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateFeedRequest.Builder newBuilder()
Returns
newBuilder(UpdateFeedRequest prototype)
public static UpdateFeedRequest.Builder newBuilder(UpdateFeedRequest prototype)
Parameter
Returns
public static UpdateFeedRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateFeedRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateFeedRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateFeedRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateFeedRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateFeedRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateFeedRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateFeedRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateFeedRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateFeedRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateFeedRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateFeedRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateFeedRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpdateFeedRequest getDefaultInstanceForType()
Returns
getFeed()
Required. The new values of feed details. It must match an existing feed and the
field name
must be in the format of:
projects/project_number/feeds/feed_id or
folders/folder_number/feeds/feed_id or
organizations/organization_number/feeds/feed_id.
.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
Feed |
The feed.
|
getFeedOrBuilder()
public FeedOrBuilder getFeedOrBuilder()
Required. The new values of feed details. It must match an existing feed and the
field name
must be in the format of:
projects/project_number/feeds/feed_id or
folders/folder_number/feeds/feed_id or
organizations/organization_number/feeds/feed_id.
.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<UpdateFeedRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. Only updates the feed
fields indicated by this mask.
The field mask must not be empty, and it must not contain fields that
are immutable or only set by the server.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Only updates the feed
fields indicated by this mask.
The field mask must not be empty, and it must not contain fields that
are immutable or only set by the server.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasFeed()
Required. The new values of feed details. It must match an existing feed and the
field name
must be in the format of:
projects/project_number/feeds/feed_id or
folders/folder_number/feeds/feed_id or
organizations/organization_number/feeds/feed_id.
.google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the feed field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. Only updates the feed
fields indicated by this mask.
The field mask must not be empty, and it must not contain fields that
are immutable or only set by the server.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the updateMask field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateFeedRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateFeedRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateFeedRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions