Class SiteVerificationInfo.Builder (0.33.0)

public static final class SiteVerificationInfo.Builder extends GeneratedMessageV3.Builder<SiteVerificationInfo.Builder> implements SiteVerificationInfoOrBuilder

Verification information for target sites in advanced site search.

Protobuf type google.cloud.discoveryengine.v1alpha.SiteVerificationInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SiteVerificationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

build()

public SiteVerificationInfo build()
Returns
TypeDescription
SiteVerificationInfo

buildPartial()

public SiteVerificationInfo buildPartial()
Returns
TypeDescription
SiteVerificationInfo

clear()

public SiteVerificationInfo.Builder clear()
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SiteVerificationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SiteVerificationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

clearSiteVerificationState()

public SiteVerificationInfo.Builder clearSiteVerificationState()

Site verification state indicating the ownership and validity.

.google.cloud.discoveryengine.v1alpha.SiteVerificationInfo.SiteVerificationState site_verification_state = 1;

Returns
TypeDescription
SiteVerificationInfo.Builder

This builder for chaining.

clearVerifyTime()

public SiteVerificationInfo.Builder clearVerifyTime()

Latest site verification time.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
SiteVerificationInfo.Builder

clone()

public SiteVerificationInfo.Builder clone()
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

getDefaultInstanceForType()

public SiteVerificationInfo getDefaultInstanceForType()
Returns
TypeDescription
SiteVerificationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSiteVerificationState()

public SiteVerificationInfo.SiteVerificationState getSiteVerificationState()

Site verification state indicating the ownership and validity.

.google.cloud.discoveryengine.v1alpha.SiteVerificationInfo.SiteVerificationState site_verification_state = 1;

Returns
TypeDescription
SiteVerificationInfo.SiteVerificationState

The siteVerificationState.

getSiteVerificationStateValue()

public int getSiteVerificationStateValue()

Site verification state indicating the ownership and validity.

.google.cloud.discoveryengine.v1alpha.SiteVerificationInfo.SiteVerificationState site_verification_state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for siteVerificationState.

getVerifyTime()

public Timestamp getVerifyTime()

Latest site verification time.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
Timestamp

The verifyTime.

getVerifyTimeBuilder()

public Timestamp.Builder getVerifyTimeBuilder()

Latest site verification time.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
Builder

getVerifyTimeOrBuilder()

public TimestampOrBuilder getVerifyTimeOrBuilder()

Latest site verification time.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasVerifyTime()

public boolean hasVerifyTime()

Latest site verification time.

.google.protobuf.Timestamp verify_time = 2;

Returns
TypeDescription
boolean

Whether the verifyTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SiteVerificationInfo other)

public SiteVerificationInfo.Builder mergeFrom(SiteVerificationInfo other)
Parameter
NameDescription
otherSiteVerificationInfo
Returns
TypeDescription
SiteVerificationInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SiteVerificationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SiteVerificationInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SiteVerificationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

mergeVerifyTime(Timestamp value)

public SiteVerificationInfo.Builder mergeVerifyTime(Timestamp value)

Latest site verification time.

.google.protobuf.Timestamp verify_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SiteVerificationInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SiteVerificationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SiteVerificationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

setSiteVerificationState(SiteVerificationInfo.SiteVerificationState value)

public SiteVerificationInfo.Builder setSiteVerificationState(SiteVerificationInfo.SiteVerificationState value)

Site verification state indicating the ownership and validity.

.google.cloud.discoveryengine.v1alpha.SiteVerificationInfo.SiteVerificationState site_verification_state = 1;

Parameter
NameDescription
valueSiteVerificationInfo.SiteVerificationState

The siteVerificationState to set.

Returns
TypeDescription
SiteVerificationInfo.Builder

This builder for chaining.

setSiteVerificationStateValue(int value)

public SiteVerificationInfo.Builder setSiteVerificationStateValue(int value)

Site verification state indicating the ownership and validity.

.google.cloud.discoveryengine.v1alpha.SiteVerificationInfo.SiteVerificationState site_verification_state = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for siteVerificationState to set.

Returns
TypeDescription
SiteVerificationInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SiteVerificationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SiteVerificationInfo.Builder
Overrides

setVerifyTime(Timestamp value)

public SiteVerificationInfo.Builder setVerifyTime(Timestamp value)

Latest site verification time.

.google.protobuf.Timestamp verify_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SiteVerificationInfo.Builder

setVerifyTime(Timestamp.Builder builderForValue)

public SiteVerificationInfo.Builder setVerifyTime(Timestamp.Builder builderForValue)

Latest site verification time.

.google.protobuf.Timestamp verify_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SiteVerificationInfo.Builder