Class SubmitUriMetadata.Builder (2.82.0)

public static final class SubmitUriMetadata.Builder extends GeneratedMessage.Builder<SubmitUriMetadata.Builder> implements SubmitUriMetadataOrBuilder

Metadata for the Submit URI long-running operation.

Protobuf type google.cloud.webrisk.v1.SubmitUriMetadata

Static Methods

getDescriptor()

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

Methods

build()

public SubmitUriMetadata build()
Returns
Type Description
SubmitUriMetadata

buildPartial()

public SubmitUriMetadata buildPartial()
Returns
Type Description
SubmitUriMetadata

clear()

public SubmitUriMetadata.Builder clear()
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

clearCreateTime()

public SubmitUriMetadata.Builder clearCreateTime()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
SubmitUriMetadata.Builder

clearState()

public SubmitUriMetadata.Builder clearState()

The state of the operation.

.google.cloud.webrisk.v1.SubmitUriMetadata.State state = 1;

Returns
Type Description
SubmitUriMetadata.Builder

This builder for chaining.

clearUpdateTime()

public SubmitUriMetadata.Builder clearUpdateTime()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
SubmitUriMetadata.Builder

getCreateTime()

public Timestamp getCreateTime()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public SubmitUriMetadata getDefaultInstanceForType()
Returns
Type Description
SubmitUriMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getState()

public SubmitUriMetadata.State getState()

The state of the operation.

.google.cloud.webrisk.v1.SubmitUriMetadata.State state = 1;

Returns
Type Description
SubmitUriMetadata.State

The state.

getStateValue()

public int getStateValue()

The state of the operation.

.google.cloud.webrisk.v1.SubmitUriMetadata.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public SubmitUriMetadata.Builder mergeCreateTime(Timestamp value)

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
SubmitUriMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubmitUriMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubmitUriMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SubmitUriMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

mergeFrom(SubmitUriMetadata other)

public SubmitUriMetadata.Builder mergeFrom(SubmitUriMetadata other)
Parameter
Name Description
other SubmitUriMetadata
Returns
Type Description
SubmitUriMetadata.Builder

mergeUpdateTime(Timestamp value)

public SubmitUriMetadata.Builder mergeUpdateTime(Timestamp value)

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
SubmitUriMetadata.Builder

setCreateTime(Timestamp value)

public SubmitUriMetadata.Builder setCreateTime(Timestamp value)

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
SubmitUriMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public SubmitUriMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SubmitUriMetadata.Builder

setState(SubmitUriMetadata.State value)

public SubmitUriMetadata.Builder setState(SubmitUriMetadata.State value)

The state of the operation.

.google.cloud.webrisk.v1.SubmitUriMetadata.State state = 1;

Parameter
Name Description
value SubmitUriMetadata.State

The state to set.

Returns
Type Description
SubmitUriMetadata.Builder

This builder for chaining.

setStateValue(int value)

public SubmitUriMetadata.Builder setStateValue(int value)

The state of the operation.

.google.cloud.webrisk.v1.SubmitUriMetadata.State state = 1;

Parameter
Name Description
value int

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

Returns
Type Description
SubmitUriMetadata.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public SubmitUriMetadata.Builder setUpdateTime(Timestamp value)

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
SubmitUriMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public SubmitUriMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SubmitUriMetadata.Builder