Class DominionGrpc.ScvGetCredentialsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
- org.opennms.dominion.local.rpc.grpc.DominionGrpc.ScvGetCredentialsResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,DominionGrpc.ScvGetCredentialsResponseOrBuilder
- Enclosing class:
- DominionGrpc.ScvGetCredentialsResponse
public static final class DominionGrpc.ScvGetCredentialsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder> implements DominionGrpc.ScvGetCredentialsResponseOrBuilder
Protobuf typedominion.v1.ScvGetCredentialsResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
clear
public DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
getDefaultInstanceForType
public DominionGrpc.ScvGetCredentialsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DominionGrpc.ScvGetCredentialsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DominionGrpc.ScvGetCredentialsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
setField
public DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
clearField
public DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
clearOneof
public DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
setRepeatedField
public DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
addRepeatedField
public DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
mergeFrom
public DominionGrpc.ScvGetCredentialsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
mergeFrom
public DominionGrpc.ScvGetCredentialsResponse.Builder mergeFrom(DominionGrpc.ScvGetCredentialsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
mergeFrom
public DominionGrpc.ScvGetCredentialsResponse.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<DominionGrpc.ScvGetCredentialsResponse.Builder>
- Throws:
IOException
-
getUser
public String getUser()
string user = 1;
- Specified by:
getUser
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()
string user = 1;
- Specified by:
getUserBytes
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
- Returns:
- The bytes for user.
-
setUser
public DominionGrpc.ScvGetCredentialsResponse.Builder setUser(String value)
string user = 1;
- Parameters:
value
- The user to set.- Returns:
- This builder for chaining.
-
clearUser
public DominionGrpc.ScvGetCredentialsResponse.Builder clearUser()
string user = 1;
- Returns:
- This builder for chaining.
-
setUserBytes
public DominionGrpc.ScvGetCredentialsResponse.Builder setUserBytes(com.google.protobuf.ByteString value)
string user = 1;
- Parameters:
value
- The bytes for user to set.- Returns:
- This builder for chaining.
-
getPassword
public String getPassword()
string password = 2;
- Specified by:
getPassword
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()
string password = 2;
- Specified by:
getPasswordBytes
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
- Returns:
- The bytes for password.
-
setPassword
public DominionGrpc.ScvGetCredentialsResponse.Builder setPassword(String value)
string password = 2;
- Parameters:
value
- The password to set.- Returns:
- This builder for chaining.
-
clearPassword
public DominionGrpc.ScvGetCredentialsResponse.Builder clearPassword()
string password = 2;
- Returns:
- This builder for chaining.
-
setPasswordBytes
public DominionGrpc.ScvGetCredentialsResponse.Builder setPasswordBytes(com.google.protobuf.ByteString value)
string password = 2;
- Parameters:
value
- The bytes for password to set.- Returns:
- This builder for chaining.
-
getAttributesCount
public int getAttributesCount()
Description copied from interface:DominionGrpc.ScvGetCredentialsResponseOrBuilder
map<string, string> attributes = 3;
- Specified by:
getAttributesCount
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
containsAttributes
public boolean containsAttributes(String key)
map<string, string> attributes = 3;
- Specified by:
containsAttributes
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
getAttributes
@Deprecated public Map<String,String> getAttributes()
Deprecated.UsegetAttributesMap()
instead.- Specified by:
getAttributes
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
getAttributesMap
public Map<String,String> getAttributesMap()
map<string, string> attributes = 3;
- Specified by:
getAttributesMap
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
getAttributesOrDefault
public String getAttributesOrDefault(String key, String defaultValue)
map<string, string> attributes = 3;
- Specified by:
getAttributesOrDefault
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
getAttributesOrThrow
public String getAttributesOrThrow(String key)
map<string, string> attributes = 3;
- Specified by:
getAttributesOrThrow
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
clearAttributes
public DominionGrpc.ScvGetCredentialsResponse.Builder clearAttributes()
-
removeAttributes
public DominionGrpc.ScvGetCredentialsResponse.Builder removeAttributes(String key)
map<string, string> attributes = 3;
-
getMutableAttributes
@Deprecated public Map<String,String> getMutableAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putAttributes
public DominionGrpc.ScvGetCredentialsResponse.Builder putAttributes(String key, String value)
map<string, string> attributes = 3;
-
putAllAttributes
public DominionGrpc.ScvGetCredentialsResponse.Builder putAllAttributes(Map<String,String> values)
map<string, string> attributes = 3;
-
setUnknownFields
public final DominionGrpc.ScvGetCredentialsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
mergeUnknownFields
public final DominionGrpc.ScvGetCredentialsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvGetCredentialsResponse.Builder>
-
-