Class GetAnalysisRuleRequest.Builder (2.54.0)

public static final class GetAnalysisRuleRequest.Builder extends GeneratedMessageV3.Builder<GetAnalysisRuleRequest.Builder> implements GetAnalysisRuleRequestOrBuilder

The request for getting a analysis rule.

Protobuf type google.cloud.contactcenterinsights.v1.GetAnalysisRuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAnalysisRuleRequest build()
Returns
Type Description
GetAnalysisRuleRequest

buildPartial()

public GetAnalysisRuleRequest buildPartial()
Returns
Type Description
GetAnalysisRuleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetAnalysisRuleRequest.Builder clearName()

Required. The name of the AnalysisRule to get.

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

Returns
Type Description
GetAnalysisRuleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetAnalysisRuleRequest getDefaultInstanceForType()
Returns
Type Description
GetAnalysisRuleRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the AnalysisRule to get.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the AnalysisRule to get.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetAnalysisRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetAnalysisRuleRequest.Builder setName(String value)

Required. The name of the AnalysisRule to get.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetAnalysisRuleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAnalysisRuleRequest.Builder setNameBytes(ByteString value)

Required. The name of the AnalysisRule to get.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetAnalysisRuleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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