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
,java.lang.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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DominionGrpc.ScvGetCredentialsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DominionGrpc.ScvGetCredentialsResponse
build()
DominionGrpc.ScvGetCredentialsResponse
buildPartial()
DominionGrpc.ScvGetCredentialsResponse.Builder
clear()
DominionGrpc.ScvGetCredentialsResponse.Builder
clearAttributes()
DominionGrpc.ScvGetCredentialsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DominionGrpc.ScvGetCredentialsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DominionGrpc.ScvGetCredentialsResponse.Builder
clearPassword()
string password = 2;
DominionGrpc.ScvGetCredentialsResponse.Builder
clearUser()
string user = 1;
DominionGrpc.ScvGetCredentialsResponse.Builder
clone()
boolean
containsAttributes(java.lang.String key)
map<string, string> attributes = 3;
java.util.Map<java.lang.String,java.lang.String>
getAttributes()
Deprecated.int
getAttributesCount()
map<string, string> attributes = 3;
java.util.Map<java.lang.String,java.lang.String>
getAttributesMap()
map<string, string> attributes = 3;
java.lang.String
getAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> attributes = 3;
java.lang.String
getAttributesOrThrow(java.lang.String key)
map<string, string> attributes = 3;
DominionGrpc.ScvGetCredentialsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.util.Map<java.lang.String,java.lang.String>
getMutableAttributes()
Deprecated.java.lang.String
getPassword()
string password = 2;
com.google.protobuf.ByteString
getPasswordBytes()
string password = 2;
java.lang.String
getUser()
string user = 1;
com.google.protobuf.ByteString
getUserBytes()
string user = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
DominionGrpc.ScvGetCredentialsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DominionGrpc.ScvGetCredentialsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
DominionGrpc.ScvGetCredentialsResponse.Builder
mergeFrom(DominionGrpc.ScvGetCredentialsResponse other)
DominionGrpc.ScvGetCredentialsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DominionGrpc.ScvGetCredentialsResponse.Builder
putAllAttributes(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> attributes = 3;
DominionGrpc.ScvGetCredentialsResponse.Builder
putAttributes(java.lang.String key, java.lang.String value)
map<string, string> attributes = 3;
DominionGrpc.ScvGetCredentialsResponse.Builder
removeAttributes(java.lang.String key)
map<string, string> attributes = 3;
DominionGrpc.ScvGetCredentialsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DominionGrpc.ScvGetCredentialsResponse.Builder
setPassword(java.lang.String value)
string password = 2;
DominionGrpc.ScvGetCredentialsResponse.Builder
setPasswordBytes(com.google.protobuf.ByteString value)
string password = 2;
DominionGrpc.ScvGetCredentialsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DominionGrpc.ScvGetCredentialsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DominionGrpc.ScvGetCredentialsResponse.Builder
setUser(java.lang.String value)
string user = 1;
DominionGrpc.ScvGetCredentialsResponse.Builder
setUserBytes(com.google.protobuf.ByteString value)
string user = 1;
-
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, java.lang.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, java.lang.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, java.lang.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 java.io.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:
java.io.IOException
-
getUser
public java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.String key)
map<string, string> attributes = 3;
- Specified by:
containsAttributes
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
getAttributes
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getAttributes()
Deprecated.UsegetAttributesMap()
instead.- Specified by:
getAttributes
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
getAttributesMap
public java.util.Map<java.lang.String,java.lang.String> getAttributesMap()
map<string, string> attributes = 3;
- Specified by:
getAttributesMap
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
getAttributesOrDefault
public java.lang.String getAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> attributes = 3;
- Specified by:
getAttributesOrDefault
in interfaceDominionGrpc.ScvGetCredentialsResponseOrBuilder
-
getAttributesOrThrow
public java.lang.String getAttributesOrThrow(java.lang.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(java.lang.String key)
map<string, string> attributes = 3;
-
getMutableAttributes
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putAttributes
public DominionGrpc.ScvGetCredentialsResponse.Builder putAttributes(java.lang.String key, java.lang.String value)
map<string, string> attributes = 3;
-
putAllAttributes
public DominionGrpc.ScvGetCredentialsResponse.Builder putAllAttributes(java.util.Map<java.lang.String,java.lang.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>
-
-