Package io.grpc.binarylog.v1
Class Address.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
- io.grpc.binarylog.v1.Address.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,AddressOrBuilder
,Cloneable
- Enclosing class:
- Address
public static final class Address.Builder extends GeneratedMessageV3.Builder<Address.Builder> implements AddressOrBuilder
Address information
Protobuf typegrpc.binarylog.v1.Address
-
-
Method Summary
-
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 Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<Address.Builder>
-
clear
public Address.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<Address.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<Address.Builder>
-
getDefaultInstanceForType
public Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public Address build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public Address buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public Address.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<Address.Builder>
-
setField
public Address.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<Address.Builder>
-
clearField
public Address.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<Address.Builder>
-
clearOneof
public Address.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<Address.Builder>
-
setRepeatedField
public Address.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<Address.Builder>
-
addRepeatedField
public Address.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<Address.Builder>
-
mergeFrom
public Address.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<Address.Builder>
-
mergeFrom
public Address.Builder mergeFrom(Address other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<Address.Builder>
-
mergeFrom
public Address.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<Address.Builder>
- Throws:
IOException
-
getTypeValue
public int getTypeValue()
.grpc.binarylog.v1.Address.Type type = 1;
- Specified by:
getTypeValue
in interfaceAddressOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Address.Builder setTypeValue(int value)
.grpc.binarylog.v1.Address.Type type = 1;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public Address.Type getType()
.grpc.binarylog.v1.Address.Type type = 1;
- Specified by:
getType
in interfaceAddressOrBuilder
- Returns:
- The type.
-
setType
public Address.Builder setType(Address.Type value)
.grpc.binarylog.v1.Address.Type type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Address.Builder clearType()
.grpc.binarylog.v1.Address.Type type = 1;
- Returns:
- This builder for chaining.
-
getAddress
public String getAddress()
string address = 2;
- Specified by:
getAddress
in interfaceAddressOrBuilder
- Returns:
- The address.
-
getAddressBytes
public ByteString getAddressBytes()
string address = 2;
- Specified by:
getAddressBytes
in interfaceAddressOrBuilder
- Returns:
- The bytes for address.
-
setAddress
public Address.Builder setAddress(String value)
string address = 2;
- Parameters:
value
- The address to set.- Returns:
- This builder for chaining.
-
clearAddress
public Address.Builder clearAddress()
string address = 2;
- Returns:
- This builder for chaining.
-
setAddressBytes
public Address.Builder setAddressBytes(ByteString value)
string address = 2;
- Parameters:
value
- The bytes for address to set.- Returns:
- This builder for chaining.
-
getIpPort
public int getIpPort()
only for TYPE_IPV4 and TYPE_IPV6
uint32 ip_port = 3;
- Specified by:
getIpPort
in interfaceAddressOrBuilder
- Returns:
- The ipPort.
-
setIpPort
public Address.Builder setIpPort(int value)
only for TYPE_IPV4 and TYPE_IPV6
uint32 ip_port = 3;
- Parameters:
value
- The ipPort to set.- Returns:
- This builder for chaining.
-
clearIpPort
public Address.Builder clearIpPort()
only for TYPE_IPV4 and TYPE_IPV6
uint32 ip_port = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Address.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<Address.Builder>
-
mergeUnknownFields
public final Address.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<Address.Builder>
-
-