Class SubmitUriMetadata.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubmitUriMetadata build()
Returns
TypeDescription
SubmitUriMetadata

buildPartial()

public SubmitUriMetadata buildPartial()
Returns
TypeDescription
SubmitUriMetadata

clear()

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

clearCreateTime()

public SubmitUriMetadata.Builder clearCreateTime()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
SubmitUriMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public SubmitUriMetadata.Builder clearState()

The state of the operation.

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

Returns
TypeDescription
SubmitUriMetadata.Builder

This builder for chaining.

clearUpdateTime()

public SubmitUriMetadata.Builder clearUpdateTime()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
SubmitUriMetadata.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public SubmitUriMetadata getDefaultInstanceForType()
Returns
TypeDescription
SubmitUriMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getState()

public SubmitUriMetadata.State getState()

The state of the operation.

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

Returns
TypeDescription
SubmitUriMetadata.State

The state.

getStateValue()

public int getStateValue()

The state of the operation.

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

Returns
TypeDescription
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
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Latest update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public SubmitUriMetadata.Builder mergeCreateTime(Timestamp value)

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SubmitUriMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SubmitUriMetadata other)

public SubmitUriMetadata.Builder mergeFrom(SubmitUriMetadata other)
Parameter
NameDescription
otherSubmitUriMetadata
Returns
TypeDescription
SubmitUriMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubmitUriMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
SubmitUriMetadata.Builder

setCreateTime(Timestamp value)

public SubmitUriMetadata.Builder setCreateTime(Timestamp value)

Creation time of the operation.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
SubmitUriMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SubmitUriMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSubmitUriMetadata.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
SubmitUriMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SubmitUriMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
SubmitUriMetadata.Builder