Class UpdateCssProductInputRequest (0.24.0)

public final class UpdateCssProductInputRequest extends GeneratedMessageV3 implements UpdateCssProductInputRequestOrBuilder

Request message for the UpdateCssProductInput method.

Protobuf type google.shopping.css.v1.UpdateCssProductInputRequest

Static Fields

CSS_PRODUCT_INPUT_FIELD_NUMBER

public static final int CSS_PRODUCT_INPUT_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 UpdateCssProductInputRequest getDefaultInstance()
Returns
Type Description
UpdateCssProductInputRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateCssProductInputRequest.Builder newBuilder()
Returns
Type Description
UpdateCssProductInputRequest.Builder

newBuilder(UpdateCssProductInputRequest prototype)

public static UpdateCssProductInputRequest.Builder newBuilder(UpdateCssProductInputRequest prototype)
Parameter
Name Description
prototype UpdateCssProductInputRequest
Returns
Type Description
UpdateCssProductInputRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateCssProductInputRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateCssProductInputRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateCssProductInputRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateCssProductInputRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateCssProductInputRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateCssProductInputRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateCssProductInputRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateCssProductInputRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateCssProductInputRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateCssProductInputRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateCssProductInputRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateCssProductInputRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCssProductInputRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateCssProductInputRequest> parser()
Returns
Type Description
Parser<UpdateCssProductInputRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCssProductInput()

public CssProductInput getCssProductInput()

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CssProductInput

The cssProductInput.

getCssProductInputOrBuilder()

public CssProductInputOrBuilder getCssProductInputOrBuilder()

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CssProductInputOrBuilder

getDefaultInstanceForType()

public UpdateCssProductInputRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCssProductInputRequest

getParserForType()

public Parser<UpdateCssProductInputRequest> getParserForType()
Returns
Type Description
Parser<UpdateCssProductInputRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasCssProductInput()

public boolean hasCssProductInput()

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cssProductInput field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateCssProductInputRequest.Builder newBuilderForType()
Returns
Type Description
UpdateCssProductInputRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateCssProductInputRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateCssProductInputRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateCssProductInputRequest.Builder toBuilder()
Returns
Type Description
UpdateCssProductInputRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException