Class UpdateServingConfigRequest (2.29.0)

public final class UpdateServingConfigRequest extends GeneratedMessageV3 implements UpdateServingConfigRequestOrBuilder

Request for UpdateServingConfig method.

Protobuf type google.cloud.retail.v2alpha.UpdateServingConfigRequest

Static Fields

SERVING_CONFIG_FIELD_NUMBER

public static final int SERVING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateServingConfigRequest getDefaultInstance()
Returns
TypeDescription
UpdateServingConfigRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateServingConfigRequest.Builder newBuilder()
Returns
TypeDescription
UpdateServingConfigRequest.Builder

newBuilder(UpdateServingConfigRequest prototype)

public static UpdateServingConfigRequest.Builder newBuilder(UpdateServingConfigRequest prototype)
Parameter
NameDescription
prototypeUpdateServingConfigRequest
Returns
TypeDescription
UpdateServingConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateServingConfigRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateServingConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateServingConfigRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateServingConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateServingConfigRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateServingConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateServingConfigRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateServingConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateServingConfigRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateServingConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateServingConfigRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateServingConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateServingConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateServingConfigRequest> parser()
Returns
TypeDescription
Parser<UpdateServingConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateServingConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateServingConfigRequest

getParserForType()

public Parser<UpdateServingConfigRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateServingConfigRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServingConfig()

public ServingConfig getServingConfig()

Required. The ServingConfig to update.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServingConfig

The servingConfig.

getServingConfigOrBuilder()

public ServingConfigOrBuilder getServingConfigOrBuilder()

Required. The ServingConfig to update.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ServingConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Indicates which fields in the provided ServingConfig to update. The following are NOT supported:

  • ServingConfig.name

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided ServingConfig to update. The following are NOT supported:

  • ServingConfig.name

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasServingConfig()

public boolean hasServingConfig()

Required. The ServingConfig to update.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the servingConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Indicates which fields in the provided ServingConfig to update. The following are NOT supported:

  • ServingConfig.name

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateServingConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateServingConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateServingConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateServingConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateServingConfigRequest.Builder toBuilder()
Returns
TypeDescription
UpdateServingConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException