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 |
Type |
Description |
int |
|
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateFeedRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateFeedRequest.Builder newBuilder()
newBuilder(UpdateFeedRequest prototype)
public static UpdateFeedRequest.Builder newBuilder(UpdateFeedRequest prototype)
public static UpdateFeedRequest parseDelimitedFrom(InputStream input)
public static UpdateFeedRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateFeedRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateFeedRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateFeedRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateFeedRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateFeedRequest parseFrom(CodedInputStream input)
public static UpdateFeedRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateFeedRequest parseFrom(InputStream input)
public static UpdateFeedRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateFeedRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateFeedRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateFeedRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UpdateFeedRequest getDefaultInstanceForType()
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];
getParserForType()
public Parser<UpdateFeedRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
Type |
Description |
FieldMask |
The updateMask.
|
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];
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateFeedRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateFeedRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpdateFeedRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides