Package io.dapr.v1
Class DaprProtos.AppConnectionProperties.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typedapr.proto.runtime.v1.AppConnectionProperties
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DaprProtos.AppConnectionProperties.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DaprProtos.AppConnectionProperties
build()
DaprProtos.AppConnectionProperties
buildPartial()
DaprProtos.AppConnectionProperties.Builder
clear()
DaprProtos.AppConnectionProperties.Builder
clearChannelAddress()
string channel_address = 3 [json_name = "channelAddress"];
DaprProtos.AppConnectionProperties.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DaprProtos.AppConnectionProperties.Builder
clearHealth()
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
DaprProtos.AppConnectionProperties.Builder
clearMaxConcurrency()
int32 max_concurrency = 4 [json_name = "maxConcurrency"];
DaprProtos.AppConnectionProperties.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DaprProtos.AppConnectionProperties.Builder
clearPort()
int32 port = 1;
DaprProtos.AppConnectionProperties.Builder
clearProtocol()
string protocol = 2;
DaprProtos.AppConnectionProperties.Builder
clone()
String
getChannelAddress()
string channel_address = 3 [json_name = "channelAddress"];
com.google.protobuf.ByteString
getChannelAddressBytes()
string channel_address = 3 [json_name = "channelAddress"];
DaprProtos.AppConnectionProperties
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
DaprProtos.AppConnectionHealthProperties
getHealth()
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
DaprProtos.AppConnectionHealthProperties.Builder
getHealthBuilder()
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
DaprProtos.AppConnectionHealthPropertiesOrBuilder
getHealthOrBuilder()
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
int
getMaxConcurrency()
int32 max_concurrency = 4 [json_name = "maxConcurrency"];
int
getPort()
int32 port = 1;
String
getProtocol()
string protocol = 2;
com.google.protobuf.ByteString
getProtocolBytes()
string protocol = 2;
boolean
hasHealth()
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DaprProtos.AppConnectionProperties.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DaprProtos.AppConnectionProperties.Builder
mergeFrom(com.google.protobuf.Message other)
DaprProtos.AppConnectionProperties.Builder
mergeFrom(DaprProtos.AppConnectionProperties other)
DaprProtos.AppConnectionProperties.Builder
mergeHealth(DaprProtos.AppConnectionHealthProperties value)
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
DaprProtos.AppConnectionProperties.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DaprProtos.AppConnectionProperties.Builder
setChannelAddress(String value)
string channel_address = 3 [json_name = "channelAddress"];
DaprProtos.AppConnectionProperties.Builder
setChannelAddressBytes(com.google.protobuf.ByteString value)
string channel_address = 3 [json_name = "channelAddress"];
DaprProtos.AppConnectionProperties.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DaprProtos.AppConnectionProperties.Builder
setHealth(DaprProtos.AppConnectionHealthProperties value)
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
DaprProtos.AppConnectionProperties.Builder
setHealth(DaprProtos.AppConnectionHealthProperties.Builder builderForValue)
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
DaprProtos.AppConnectionProperties.Builder
setMaxConcurrency(int value)
int32 max_concurrency = 4 [json_name = "maxConcurrency"];
DaprProtos.AppConnectionProperties.Builder
setPort(int value)
int32 port = 1;
DaprProtos.AppConnectionProperties.Builder
setProtocol(String value)
string protocol = 2;
DaprProtos.AppConnectionProperties.Builder
setProtocolBytes(com.google.protobuf.ByteString value)
string protocol = 2;
DaprProtos.AppConnectionProperties.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DaprProtos.AppConnectionProperties.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
-
-
-
-
Method Detail
-
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
public 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
public DaprProtos.AppConnectionProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DaprProtos.AppConnectionProperties build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DaprProtos.AppConnectionProperties buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DaprProtos.AppConnectionProperties.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
public DaprProtos.AppConnectionProperties.Builder mergeFrom(com.google.protobuf.Message other)
- 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
public DaprProtos.AppConnectionProperties.Builder setPort(int value)
int32 port = 1;
- Parameters:
value
- The port to set.- Returns:
- This builder for chaining.
-
clearPort
public DaprProtos.AppConnectionProperties.Builder clearPort()
int32 port = 1;
- Returns:
- This builder for chaining.
-
getProtocol
public String 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
public DaprProtos.AppConnectionProperties.Builder setProtocol(String value)
string protocol = 2;
- Parameters:
value
- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
public DaprProtos.AppConnectionProperties.Builder 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
public String 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
public DaprProtos.AppConnectionProperties.Builder setChannelAddress(String value)
string channel_address = 3 [json_name = "channelAddress"];
- Parameters:
value
- The channelAddress to set.- Returns:
- This builder for chaining.
-
clearChannelAddress
public DaprProtos.AppConnectionProperties.Builder 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
public DaprProtos.AppConnectionProperties.Builder setMaxConcurrency(int value)
int32 max_concurrency = 4 [json_name = "maxConcurrency"];
- Parameters:
value
- The maxConcurrency to set.- Returns:
- This builder for chaining.
-
clearMaxConcurrency
public DaprProtos.AppConnectionProperties.Builder 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
public DaprProtos.AppConnectionHealthProperties 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
public DaprProtos.AppConnectionProperties.Builder clearHealth()
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
-
getHealthBuilder
public DaprProtos.AppConnectionHealthProperties.Builder getHealthBuilder()
.dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5;
-
getHealthOrBuilder
public DaprProtos.AppConnectionHealthPropertiesOrBuilder 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>
-
-