Package io.dapr.v1
Class DaprProtos.AppConnectionProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
io.dapr.v1.DaprProtos.AppConnectionProperties.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.AppConnectionPropertiesOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.AppConnectionProperties
public static final class DaprProtos.AppConnectionProperties.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
implements DaprProtos.AppConnectionPropertiesOrBuilder
Protobuf type
dapr.proto.runtime.v1.AppConnectionProperties
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
string channel_address = 3 [json_name = "channelAddress"];
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
int32 max_concurrency = 4 [json_name = "maxConcurrency"];
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) int32 port = 1;
string protocol = 2;
clone()
string channel_address = 3 [json_name = "channelAddress"];
com.google.protobuf.ByteString
string channel_address = 3 [json_name = "channelAddress"];
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
int
int32 max_concurrency = 4 [json_name = "maxConcurrency"];
int
getPort()
int32 port = 1;
string protocol = 2;
com.google.protobuf.ByteString
string protocol = 2;
boolean
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setChannelAddress
(String value) string channel_address = 3 [json_name = "channelAddress"];
setChannelAddressBytes
(com.google.protobuf.ByteString value) string channel_address = 3 [json_name = "channelAddress"];
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
setHealth
(DaprProtos.AppConnectionHealthProperties.Builder builderForValue) .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
setMaxConcurrency
(int value) int32 max_concurrency = 4 [json_name = "maxConcurrency"];
setPort
(int value) int32 port = 1;
setProtocol
(String value) string protocol = 2;
setProtocolBytes
(com.google.protobuf.ByteString value) string protocol = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
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 Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
setField
public DaprProtos.AppConnectionProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
clearField
public DaprProtos.AppConnectionProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
clearOneof
public DaprProtos.AppConnectionProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
setRepeatedField
public DaprProtos.AppConnectionProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
addRepeatedField
public DaprProtos.AppConnectionProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.AppConnectionProperties.Builder>
-
mergeFrom
public DaprProtos.AppConnectionProperties.Builder mergeFrom(DaprProtos.AppConnectionProperties other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
mergeFrom
public DaprProtos.AppConnectionProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.AppConnectionProperties.Builder>
- Throws:
IOException
-
getPort
public int getPort()int32 port = 1;
- Specified by:
getPort
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
- Returns:
- The port.
-
setPort
int32 port = 1;
- Parameters:
value
- The port to set.- Returns:
- This builder for chaining.
-
clearPort
int32 port = 1;
- Returns:
- This builder for chaining.
-
getProtocol
string protocol = 2;
- Specified by:
getProtocol
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
- Returns:
- The protocol.
-
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()string protocol = 2;
- Specified by:
getProtocolBytes
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
- Returns:
- The bytes for protocol.
-
setProtocol
string protocol = 2;
- Parameters:
value
- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
string protocol = 2;
- Returns:
- This builder for chaining.
-
setProtocolBytes
public DaprProtos.AppConnectionProperties.Builder setProtocolBytes(com.google.protobuf.ByteString value) string protocol = 2;
- Parameters:
value
- The bytes for protocol to set.- Returns:
- This builder for chaining.
-
getChannelAddress
string channel_address = 3 [json_name = "channelAddress"];
- Specified by:
getChannelAddress
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
- Returns:
- The channelAddress.
-
getChannelAddressBytes
public com.google.protobuf.ByteString getChannelAddressBytes()string channel_address = 3 [json_name = "channelAddress"];
- Specified by:
getChannelAddressBytes
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
- Returns:
- The bytes for channelAddress.
-
setChannelAddress
string channel_address = 3 [json_name = "channelAddress"];
- Parameters:
value
- The channelAddress to set.- Returns:
- This builder for chaining.
-
clearChannelAddress
string channel_address = 3 [json_name = "channelAddress"];
- Returns:
- This builder for chaining.
-
setChannelAddressBytes
public DaprProtos.AppConnectionProperties.Builder setChannelAddressBytes(com.google.protobuf.ByteString value) string channel_address = 3 [json_name = "channelAddress"];
- Parameters:
value
- The bytes for channelAddress to set.- Returns:
- This builder for chaining.
-
getMaxConcurrency
public int getMaxConcurrency()int32 max_concurrency = 4 [json_name = "maxConcurrency"];
- Specified by:
getMaxConcurrency
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
- Returns:
- The maxConcurrency.
-
setMaxConcurrency
int32 max_concurrency = 4 [json_name = "maxConcurrency"];
- Parameters:
value
- The maxConcurrency to set.- Returns:
- This builder for chaining.
-
clearMaxConcurrency
int32 max_concurrency = 4 [json_name = "maxConcurrency"];
- Returns:
- This builder for chaining.
-
hasHealth
public boolean hasHealth().dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
- Specified by:
hasHealth
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
- Returns:
- Whether the health field is set.
-
getHealth
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
- Specified by:
getHealth
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
- Returns:
- The health.
-
setHealth
public DaprProtos.AppConnectionProperties.Builder setHealth(DaprProtos.AppConnectionHealthProperties value) .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
-
setHealth
public DaprProtos.AppConnectionProperties.Builder setHealth(DaprProtos.AppConnectionHealthProperties.Builder builderForValue) .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
-
mergeHealth
public DaprProtos.AppConnectionProperties.Builder mergeHealth(DaprProtos.AppConnectionHealthProperties value) .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
-
clearHealth
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
-
getHealthBuilder
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
-
getHealthOrBuilder
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
- Specified by:
getHealthOrBuilder
in interfaceDaprProtos.AppConnectionPropertiesOrBuilder
-
setUnknownFields
public final DaprProtos.AppConnectionProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-
mergeUnknownFields
public final DaprProtos.AppConnectionProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.AppConnectionProperties.Builder>
-