Class SubmitUriMetadata.Builder (2.52.0)

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

Metadata for the Submit URI long-running operation. option (google.api.message_visibility).restriction = "TRUSTED_TESTER";

Protobuf type google.cloud.webrisk.v1.SubmitUriMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubmitUriMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SubmitUriMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubmitUriMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubmitUriMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public SubmitUriMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

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

public SubmitUriMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final SubmitUriMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubmitUriMetadata.Builder
Overrides

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