Class CreateRetrohuntRequest.Builder (0.21.0)

public static final class CreateRetrohuntRequest.Builder extends GeneratedMessage.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

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

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

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

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.

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