Package io.grpc.channelz.v1
Class Address.TcpIpAddress.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
- io.grpc.channelz.v1.Address.TcpIpAddress.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Address.TcpIpAddressOrBuilder
,Cloneable
- Enclosing class:
- Address.TcpIpAddress
public static final class Address.TcpIpAddress.Builder extends GeneratedMessageV3.Builder<Address.TcpIpAddress.Builder> implements Address.TcpIpAddressOrBuilder
Protobuf typegrpc.channelz.v1.Address.TcpIpAddress
-
-
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.TcpIpAddress.Builder>
-
clear
public Address.TcpIpAddress.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
getDefaultInstanceForType
public Address.TcpIpAddress getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public Address.TcpIpAddress build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public Address.TcpIpAddress buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public Address.TcpIpAddress.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
setField
public Address.TcpIpAddress.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
clearField
public Address.TcpIpAddress.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
clearOneof
public Address.TcpIpAddress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
setRepeatedField
public Address.TcpIpAddress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
addRepeatedField
public Address.TcpIpAddress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
mergeFrom
public Address.TcpIpAddress.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<Address.TcpIpAddress.Builder>
-
mergeFrom
public Address.TcpIpAddress.Builder mergeFrom(Address.TcpIpAddress other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
mergeFrom
public Address.TcpIpAddress.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.TcpIpAddress.Builder>
- Throws:
IOException
-
getIpAddress
public ByteString getIpAddress()
Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16 bytes in length.
bytes ip_address = 1;
- Specified by:
getIpAddress
in interfaceAddress.TcpIpAddressOrBuilder
- Returns:
- The ipAddress.
-
setIpAddress
public Address.TcpIpAddress.Builder setIpAddress(ByteString value)
Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16 bytes in length.
bytes ip_address = 1;
- Parameters:
value
- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
public Address.TcpIpAddress.Builder clearIpAddress()
Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16 bytes in length.
bytes ip_address = 1;
- Returns:
- This builder for chaining.
-
getPort
public int getPort()
0-64k, or -1 if not appropriate.
int32 port = 2;
- Specified by:
getPort
in interfaceAddress.TcpIpAddressOrBuilder
- Returns:
- The port.
-
setPort
public Address.TcpIpAddress.Builder setPort(int value)
0-64k, or -1 if not appropriate.
int32 port = 2;
- Parameters:
value
- The port to set.- Returns:
- This builder for chaining.
-
clearPort
public Address.TcpIpAddress.Builder clearPort()
0-64k, or -1 if not appropriate.
int32 port = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Address.TcpIpAddress.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
mergeUnknownFields
public final Address.TcpIpAddress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<Address.TcpIpAddress.Builder>
-
-