Class UpdateTargetSiteRequest (0.33.0)

public final class UpdateTargetSiteRequest extends GeneratedMessageV3 implements UpdateTargetSiteRequestOrBuilder

Request message for SiteSearchEngineService.UpdateTargetSite method.

Protobuf type google.cloud.discoveryengine.v1alpha.UpdateTargetSiteRequest

Static Fields

TARGET_SITE_FIELD_NUMBER

public static final int TARGET_SITE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateTargetSiteRequest getDefaultInstance()
Returns
TypeDescription
UpdateTargetSiteRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateTargetSiteRequest prototype)

public static UpdateTargetSiteRequest.Builder newBuilder(UpdateTargetSiteRequest prototype)
Parameter
NameDescription
prototypeUpdateTargetSiteRequest
Returns
TypeDescription
UpdateTargetSiteRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateTargetSiteRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTargetSiteRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetSite()

public TargetSite getTargetSite()

Required. The target site to update. If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the TargetSite to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TargetSite

The targetSite.

getTargetSiteOrBuilder()

public TargetSiteOrBuilder getTargetSiteOrBuilder()

Required. The target site to update. If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the TargetSite to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TargetSiteOrBuilder

hasTargetSite()

public boolean hasTargetSite()

Required. The target site to update. If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the TargetSite to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the targetSite 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 UpdateTargetSiteRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateTargetSiteRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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