public static final class UserIdentity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder> implements UserIdentityOrBuilder
tipb.UserIdentity
Modifier and Type | Method and Description |
---|---|
UserIdentity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UserIdentity |
build() |
UserIdentity |
buildPartial() |
UserIdentity.Builder |
clear() |
UserIdentity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UserIdentity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UserIdentity.Builder |
clearUserHost()
optional string user_host = 2 [(.gogoproto.nullable) = false]; |
UserIdentity.Builder |
clearUserName()
optional string user_name = 1 [(.gogoproto.nullable) = false]; |
UserIdentity.Builder |
clone() |
UserIdentity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getUserHost()
optional string user_host = 2 [(.gogoproto.nullable) = false]; |
com.google.protobuf.ByteString |
getUserHostBytes()
optional string user_host = 2 [(.gogoproto.nullable) = false]; |
String |
getUserName()
optional string user_name = 1 [(.gogoproto.nullable) = false]; |
com.google.protobuf.ByteString |
getUserNameBytes()
optional string user_name = 1 [(.gogoproto.nullable) = false]; |
boolean |
hasUserHost()
optional string user_host = 2 [(.gogoproto.nullable) = false]; |
boolean |
hasUserName()
optional string user_name = 1 [(.gogoproto.nullable) = false]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UserIdentity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UserIdentity.Builder |
mergeFrom(com.google.protobuf.Message other) |
UserIdentity.Builder |
mergeFrom(UserIdentity other) |
UserIdentity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UserIdentity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UserIdentity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UserIdentity.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UserIdentity.Builder |
setUserHost(String value)
optional string user_host = 2 [(.gogoproto.nullable) = false]; |
UserIdentity.Builder |
setUserHostBytes(com.google.protobuf.ByteString value)
optional string user_host = 2 [(.gogoproto.nullable) = false]; |
UserIdentity.Builder |
setUserName(String value)
optional string user_name = 1 [(.gogoproto.nullable) = false]; |
UserIdentity.Builder |
setUserNameBytes(com.google.protobuf.ByteString value)
optional string user_name = 1 [(.gogoproto.nullable) = false]; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UserIdentity build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UserIdentity buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UserIdentity.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UserIdentity.Builder>
public UserIdentity.Builder mergeFrom(UserIdentity other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public UserIdentity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UserIdentity.Builder>
IOException
public boolean hasUserName()
optional string user_name = 1 [(.gogoproto.nullable) = false];
hasUserName
in interface UserIdentityOrBuilder
public String getUserName()
optional string user_name = 1 [(.gogoproto.nullable) = false];
getUserName
in interface UserIdentityOrBuilder
public com.google.protobuf.ByteString getUserNameBytes()
optional string user_name = 1 [(.gogoproto.nullable) = false];
getUserNameBytes
in interface UserIdentityOrBuilder
public UserIdentity.Builder setUserName(String value)
optional string user_name = 1 [(.gogoproto.nullable) = false];
value
- The userName to set.public UserIdentity.Builder clearUserName()
optional string user_name = 1 [(.gogoproto.nullable) = false];
public UserIdentity.Builder setUserNameBytes(com.google.protobuf.ByteString value)
optional string user_name = 1 [(.gogoproto.nullable) = false];
value
- The bytes for userName to set.public boolean hasUserHost()
optional string user_host = 2 [(.gogoproto.nullable) = false];
hasUserHost
in interface UserIdentityOrBuilder
public String getUserHost()
optional string user_host = 2 [(.gogoproto.nullable) = false];
getUserHost
in interface UserIdentityOrBuilder
public com.google.protobuf.ByteString getUserHostBytes()
optional string user_host = 2 [(.gogoproto.nullable) = false];
getUserHostBytes
in interface UserIdentityOrBuilder
public UserIdentity.Builder setUserHost(String value)
optional string user_host = 2 [(.gogoproto.nullable) = false];
value
- The userHost to set.public UserIdentity.Builder clearUserHost()
optional string user_host = 2 [(.gogoproto.nullable) = false];
public UserIdentity.Builder setUserHostBytes(com.google.protobuf.ByteString value)
optional string user_host = 2 [(.gogoproto.nullable) = false];
value
- The bytes for userHost to set.public final UserIdentity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
public final UserIdentity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UserIdentity.Builder>
Copyright © 2024 PingCAP. All rights reserved.