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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public SubmitUriMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SubmitUriMetadata build()
public SubmitUriMetadata buildPartial()
public SubmitUriMetadata.Builder clear()
Overrides
public SubmitUriMetadata.Builder clearCreateTime()
Creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public SubmitUriMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SubmitUriMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public SubmitUriMetadata.Builder clearState()
The state of the operation.
.google.cloud.webrisk.v1.SubmitUriMetadata.State state = 1;
public SubmitUriMetadata.Builder clearUpdateTime()
Latest update time of the operation.
.google.protobuf.Timestamp update_time = 3;
public SubmitUriMetadata.Builder clone()
Overrides
public Timestamp getCreateTime()
Creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public Timestamp.Builder getCreateTimeBuilder()
Creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public TimestampOrBuilder getCreateTimeOrBuilder()
Creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public SubmitUriMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public SubmitUriMetadata.State getState()
The state of the operation.
.google.cloud.webrisk.v1.SubmitUriMetadata.State state = 1;
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.
|
public Timestamp getUpdateTime()
Latest update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Returns |
---|
Type | Description |
Timestamp | The updateTime.
|
public Timestamp.Builder getUpdateTimeBuilder()
Latest update time of the operation.
.google.protobuf.Timestamp update_time = 3;
public TimestampOrBuilder getUpdateTimeOrBuilder()
Latest update time of the operation.
.google.protobuf.Timestamp update_time = 3;
public boolean hasCreateTime()
Creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public SubmitUriMetadata.Builder mergeCreateTime(Timestamp value)
Creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public SubmitUriMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public SubmitUriMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public SubmitUriMetadata.Builder mergeFrom(SubmitUriMetadata other)
public final SubmitUriMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SubmitUriMetadata.Builder mergeUpdateTime(Timestamp value)
Latest update time of the operation.
.google.protobuf.Timestamp update_time = 3;
public SubmitUriMetadata.Builder setCreateTime(Timestamp value)
Creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public SubmitUriMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
public SubmitUriMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SubmitUriMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public SubmitUriMetadata.Builder setState(SubmitUriMetadata.State value)
The state of the operation.
.google.cloud.webrisk.v1.SubmitUriMetadata.State state = 1;
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.
|
public final SubmitUriMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SubmitUriMetadata.Builder setUpdateTime(Timestamp value)
Latest update time of the operation.
.google.protobuf.Timestamp update_time = 3;
public SubmitUriMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)
Latest update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Parameter |
---|
Name | Description |
builderForValue | Builder
|