Class CreateRetrohuntRequest.Builder (0.2.0)

public static final class CreateRetrohuntRequest.Builder extends GeneratedMessageV3.Builder<CreateRetrohuntRequest.Builder> implements CreateRetrohuntRequestOrBuilder

Request message for CreateRetrohunt method.

Protobuf type google.cloud.chronicle.v1.CreateRetrohuntRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateRetrohuntRequest build()
Returns
Type Description
CreateRetrohuntRequest

buildPartial()

public CreateRetrohuntRequest buildPartial()
Returns
Type Description
CreateRetrohuntRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateRetrohuntRequest.Builder clearParent()

Required. The parent of retrohunt, which is a rule. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateRetrohuntRequest.Builder

This builder for chaining.

clearRetrohunt()

public CreateRetrohuntRequest.Builder clearRetrohunt()

Required. The retrohunt to create.

.google.cloud.chronicle.v1.Retrohunt retrohunt = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateRetrohuntRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateRetrohuntRequest getDefaultInstanceForType()
Returns
Type Description
CreateRetrohuntRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent of retrohunt, which is a rule. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent of retrohunt, which is a rule. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRetrohunt()

public Retrohunt getRetrohunt()

Required. The retrohunt to create.

.google.cloud.chronicle.v1.Retrohunt retrohunt = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Retrohunt

The retrohunt.

getRetrohuntBuilder()

public Retrohunt.Builder getRetrohuntBuilder()

Required. The retrohunt to create.

.google.cloud.chronicle.v1.Retrohunt retrohunt = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Retrohunt.Builder

getRetrohuntOrBuilder()

public RetrohuntOrBuilder getRetrohuntOrBuilder()

Required. The retrohunt to create.

.google.cloud.chronicle.v1.Retrohunt retrohunt = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RetrohuntOrBuilder

hasRetrohunt()

public boolean hasRetrohunt()

Required. The retrohunt to create.

.google.cloud.chronicle.v1.Retrohunt retrohunt = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the retrohunt field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateRetrohuntRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRetrohunt(Retrohunt value)

public CreateRetrohuntRequest.Builder mergeRetrohunt(Retrohunt value)

Required. The retrohunt to create.

.google.cloud.chronicle.v1.Retrohunt retrohunt = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Retrohunt
Returns
Type Description
CreateRetrohuntRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateRetrohuntRequest.Builder setParent(String value)

Required. The parent of retrohunt, which is a rule. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateRetrohuntRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateRetrohuntRequest.Builder setParentBytes(ByteString value)

Required. The parent of retrohunt, which is a rule. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateRetrohuntRequest.Builder

This builder for chaining.

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

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

setRetrohunt(Retrohunt value)

public CreateRetrohuntRequest.Builder setRetrohunt(Retrohunt value)

Required. The retrohunt to create.

.google.cloud.chronicle.v1.Retrohunt retrohunt = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Retrohunt
Returns
Type Description
CreateRetrohuntRequest.Builder

setRetrohunt(Retrohunt.Builder builderForValue)

public CreateRetrohuntRequest.Builder setRetrohunt(Retrohunt.Builder builderForValue)

Required. The retrohunt to create.

.google.cloud.chronicle.v1.Retrohunt retrohunt = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Retrohunt.Builder
Returns
Type Description
CreateRetrohuntRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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