# DaprAppCallbackProtos.TopicRoutes.Builder (dapr-sdk-parent 1.10.0 API)

Package io.dapr.v1

## Class DaprAppCallbackProtos.TopicRoutes.Builder

- java.lang.Object
- - com.google.protobuf.AbstractMessageLite.Builder
  - - com.google.protobuf.AbstractMessage.Builder<BuilderType>
    - - com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>
      - - io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder

All Implemented Interfaces:
  `com.google.protobuf.Message.Builder`, `com.google.protobuf.MessageLite.Builder`, `com.google.protobuf.MessageLiteOrBuilder`, `com.google.protobuf.MessageOrBuilder`, `DaprAppCallbackProtos.TopicRoutesOrBuilder`, `Cloneable`

Enclosing class:
  DaprAppCallbackProtos.TopicRoutes

    public static final class DaprAppCallbackProtos.TopicRoutes.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>
    implements DaprAppCallbackProtos.TopicRoutesOrBuilder

Protobuf type `dapr.proto.runtime.v1.TopicRoutes`

### Method Summary

All Methods Static Methods Instance Methods Concrete Methods
`DaprAppCallbackProtos.TopicRoutes.Builder` `addAllRules​(Iterable<? extends DaprAppCallbackProtos.TopicRule> values)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `addRules​(int index, DaprAppCallbackProtos.TopicRule value)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `addRules​(int index, DaprAppCallbackProtos.TopicRule.Builder builderForValue)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `addRules​(DaprAppCallbackProtos.TopicRule value)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `addRules​(DaprAppCallbackProtos.TopicRule.Builder builderForValue)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRule.Builder` `addRulesBuilder()` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRule.Builder` `addRulesBuilder​(int index)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes` `build()`
`DaprAppCallbackProtos.TopicRoutes` `buildPartial()`
`DaprAppCallbackProtos.TopicRoutes.Builder` `clear()`
`DaprAppCallbackProtos.TopicRoutes.Builder` `clearDefault()` The default path for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `clearRules()` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `clone()`
`String` `getDefault()` The default path for this topic.
`com.google.protobuf.ByteString` `getDefaultBytes()` The default path for this topic.
`DaprAppCallbackProtos.TopicRoutes` `getDefaultInstanceForType()`
`static com.google.protobuf.Descriptors.Descriptor` `getDescriptor()`
`com.google.protobuf.Descriptors.Descriptor` `getDescriptorForType()`
`DaprAppCallbackProtos.TopicRule` `getRules​(int index)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRule.Builder` `getRulesBuilder​(int index)` The list of rules for this topic.
`List<DaprAppCallbackProtos.TopicRule.Builder>` `getRulesBuilderList()` The list of rules for this topic.
`int` `getRulesCount()` The list of rules for this topic.
`List<DaprAppCallbackProtos.TopicRule>` `getRulesList()` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRuleOrBuilder` `getRulesOrBuilder​(int index)` The list of rules for this topic.
`List<? extends DaprAppCallbackProtos.TopicRuleOrBuilder>` `getRulesOrBuilderList()` The list of rules for this topic.
`protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable` `internalGetFieldAccessorTable()`
`boolean` `isInitialized()`
`DaprAppCallbackProtos.TopicRoutes.Builder` `mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `mergeFrom​(com.google.protobuf.Message other)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `mergeFrom​(DaprAppCallbackProtos.TopicRoutes other)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `removeRules​(int index)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `setDefault​(String value)` The default path for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `setDefaultBytes​(com.google.protobuf.ByteString value)` The default path for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
`DaprAppCallbackProtos.TopicRoutes.Builder` `setRules​(int index, DaprAppCallbackProtos.TopicRule value)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `setRules​(int index, DaprAppCallbackProtos.TopicRule.Builder builderForValue)` The list of rules for this topic.
`DaprAppCallbackProtos.TopicRoutes.Builder` `setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`

### Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

`getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3`

### Methods inherited from class com.google.protobuf.AbstractMessage.Builder

`findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString`

### Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

`addAll, addAll, mergeFrom, newUninitializedMessageException`

### Methods inherited from class java.lang.Object

`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Methods inherited from interface com.google.protobuf.MessageLite.Builder

`mergeFrom`

### Methods inherited from interface com.google.protobuf.MessageOrBuilder

`findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof`

### Method Detail

#### getDescriptor

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

#### internalGetFieldAccessorTable

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()

Specified by:
  `internalGetFieldAccessorTable` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### clear

    public DaprAppCallbackProtos.TopicRoutes.Builder clear()

Specified by:
  `clear` in interface `com.google.protobuf.Message.Builder`
Specified by:
  `clear` in interface `com.google.protobuf.MessageLite.Builder`
Overrides:
  `clear` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### getDescriptorForType

    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()

Specified by:
  `getDescriptorForType` in interface `com.google.protobuf.Message.Builder`
Specified by:
  `getDescriptorForType` in interface `com.google.protobuf.MessageOrBuilder`
Overrides:
  `getDescriptorForType` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### getDefaultInstanceForType

    public DaprAppCallbackProtos.TopicRoutes getDefaultInstanceForType()

Specified by:
  `getDefaultInstanceForType` in interface `com.google.protobuf.MessageLiteOrBuilder`
Specified by:
  `getDefaultInstanceForType` in interface `com.google.protobuf.MessageOrBuilder`

#### build

    public DaprAppCallbackProtos.TopicRoutes build()

Specified by:
  `build` in interface `com.google.protobuf.Message.Builder`
Specified by:
  `build` in interface `com.google.protobuf.MessageLite.Builder`

#### buildPartial

    public DaprAppCallbackProtos.TopicRoutes buildPartial()

Specified by:
  `buildPartial` in interface `com.google.protobuf.Message.Builder`
Specified by:
  `buildPartial` in interface `com.google.protobuf.MessageLite.Builder`

#### clone

    public DaprAppCallbackProtos.TopicRoutes.Builder clone()

Specified by:
  `clone` in interface `com.google.protobuf.Message.Builder`
Specified by:
  `clone` in interface `com.google.protobuf.MessageLite.Builder`
Overrides:
  `clone` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### setField

    public DaprAppCallbackProtos.TopicRoutes.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)

Specified by:
  `setField` in interface `com.google.protobuf.Message.Builder`
Overrides:
  `setField` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### clearField

    public DaprAppCallbackProtos.TopicRoutes.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)

Specified by:
  `clearField` in interface `com.google.protobuf.Message.Builder`
Overrides:
  `clearField` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### clearOneof

    public DaprAppCallbackProtos.TopicRoutes.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)

Specified by:
  `clearOneof` in interface `com.google.protobuf.Message.Builder`
Overrides:
  `clearOneof` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### setRepeatedField

    public DaprAppCallbackProtos.TopicRoutes.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      int index,
                                                                      Object value)

Specified by:
  `setRepeatedField` in interface `com.google.protobuf.Message.Builder`
Overrides:
  `setRepeatedField` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### addRepeatedField

    public DaprAppCallbackProtos.TopicRoutes.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      Object value)

Specified by:
  `addRepeatedField` in interface `com.google.protobuf.Message.Builder`
Overrides:
  `addRepeatedField` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### mergeFrom

    public DaprAppCallbackProtos.TopicRoutes.Builder mergeFrom​(com.google.protobuf.Message other)

Specified by:
  `mergeFrom` in interface `com.google.protobuf.Message.Builder`
Overrides:
  `mergeFrom` in class `com.google.protobuf.AbstractMessage.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### mergeFrom

    public DaprAppCallbackProtos.TopicRoutes.Builder mergeFrom​(DaprAppCallbackProtos.TopicRoutes other)

#### isInitialized

    public final boolean isInitialized()

Specified by:
  `isInitialized` in interface `com.google.protobuf.MessageLiteOrBuilder`
Overrides:
  `isInitialized` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### mergeFrom

    public DaprAppCallbackProtos.TopicRoutes.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException

Specified by:
  `mergeFrom` in interface `com.google.protobuf.Message.Builder`
Specified by:
  `mergeFrom` in interface `com.google.protobuf.MessageLite.Builder`
Overrides:
  `mergeFrom` in class `com.google.protobuf.AbstractMessage.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`
Throws:
  `IOException`

#### getRulesList

    public List<DaprAppCallbackProtos.TopicRule> getRulesList()

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

Specified by:
  `getRulesList` in interface `DaprAppCallbackProtos.TopicRoutesOrBuilder`

#### getRulesCount

    public int getRulesCount()

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

Specified by:
  `getRulesCount` in interface `DaprAppCallbackProtos.TopicRoutesOrBuilder`

#### getRules

    public DaprAppCallbackProtos.TopicRule getRules​(int index)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

Specified by:
  `getRules` in interface `DaprAppCallbackProtos.TopicRoutesOrBuilder`

#### setRules

    public DaprAppCallbackProtos.TopicRoutes.Builder setRules​(int index,
                                                              DaprAppCallbackProtos.TopicRule value)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### setRules

    public DaprAppCallbackProtos.TopicRoutes.Builder setRules​(int index,
                                                              DaprAppCallbackProtos.TopicRule.Builder builderForValue)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### addRules

    public DaprAppCallbackProtos.TopicRoutes.Builder addRules​(DaprAppCallbackProtos.TopicRule value)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### addRules

    public DaprAppCallbackProtos.TopicRoutes.Builder addRules​(int index,
                                                              DaprAppCallbackProtos.TopicRule value)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### addRules

    public DaprAppCallbackProtos.TopicRoutes.Builder addRules​(DaprAppCallbackProtos.TopicRule.Builder builderForValue)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### addRules

    public DaprAppCallbackProtos.TopicRoutes.Builder addRules​(int index,
                                                              DaprAppCallbackProtos.TopicRule.Builder builderForValue)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### addAllRules

    public DaprAppCallbackProtos.TopicRoutes.Builder addAllRules​(Iterable<? extends DaprAppCallbackProtos.TopicRule> values)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### clearRules

    public DaprAppCallbackProtos.TopicRoutes.Builder clearRules()

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### removeRules

    public DaprAppCallbackProtos.TopicRoutes.Builder removeRules​(int index)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### getRulesBuilder

    public DaprAppCallbackProtos.TopicRule.Builder getRulesBuilder​(int index)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### getRulesOrBuilder

    public DaprAppCallbackProtos.TopicRuleOrBuilder getRulesOrBuilder​(int index)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

Specified by:
  `getRulesOrBuilder` in interface `DaprAppCallbackProtos.TopicRoutesOrBuilder`

#### getRulesOrBuilderList

    public List<? extends DaprAppCallbackProtos.TopicRuleOrBuilder> getRulesOrBuilderList()

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

Specified by:
  `getRulesOrBuilderList` in interface `DaprAppCallbackProtos.TopicRoutesOrBuilder`

#### addRulesBuilder

    public DaprAppCallbackProtos.TopicRule.Builder addRulesBuilder()

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### addRulesBuilder

    public DaprAppCallbackProtos.TopicRule.Builder addRulesBuilder​(int index)

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### getRulesBuilderList

    public List<DaprAppCallbackProtos.TopicRule.Builder> getRulesBuilderList()

     The list of rules for this topic.

`repeated .dapr.proto.runtime.v1.TopicRule rules = 1;`

#### getDefault

    public String getDefault()

     The default path for this topic.

`string default = 2;`

Specified by:
  `getDefault` in interface `DaprAppCallbackProtos.TopicRoutesOrBuilder`
Returns:
  The default.

#### getDefaultBytes

    public com.google.protobuf.ByteString getDefaultBytes()

     The default path for this topic.

`string default = 2;`

Specified by:
  `getDefaultBytes` in interface `DaprAppCallbackProtos.TopicRoutesOrBuilder`
Returns:
  The bytes for default.

#### setDefault

    public DaprAppCallbackProtos.TopicRoutes.Builder setDefault​(String value)

     The default path for this topic.

`string default = 2;`

Parameters:
  `value` - The default to set.
Returns:
  This builder for chaining.

#### clearDefault

    public DaprAppCallbackProtos.TopicRoutes.Builder clearDefault()

     The default path for this topic.

`string default = 2;`

Returns:
  This builder for chaining.

#### setDefaultBytes

    public DaprAppCallbackProtos.TopicRoutes.Builder setDefaultBytes​(com.google.protobuf.ByteString value)

     The default path for this topic.

`string default = 2;`

Parameters:
  `value` - The bytes for default to set.
Returns:
  This builder for chaining.

#### setUnknownFields

    public final DaprAppCallbackProtos.TopicRoutes.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)

Specified by:
  `setUnknownFields` in interface `com.google.protobuf.Message.Builder`
Overrides:
  `setUnknownFields` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`

#### mergeUnknownFields

    public final DaprAppCallbackProtos.TopicRoutes.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)

Specified by:
  `mergeUnknownFields` in interface `com.google.protobuf.Message.Builder`
Overrides:
  `mergeUnknownFields` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicRoutes.Builder>`