Class DominionGrpc.ScvSetCredentialsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvSetCredentialsRequest.Builder>
-
- org.opennms.dominion.local.rpc.grpc.DominionGrpc.ScvSetCredentialsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,DominionGrpc.ScvSetCredentialsRequestOrBuilder
- Enclosing class:
- DominionGrpc.ScvSetCredentialsRequest
public static final class DominionGrpc.ScvSetCredentialsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvSetCredentialsRequest.Builder> implements DominionGrpc.ScvSetCredentialsRequestOrBuilder
Protobuf typedominion.v1.ScvSetCredentialsRequest
-
-
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.ScvSetCredentialsRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvSetCredentialsRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvSetCredentialsRequest.Builder>
-
clear
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
getDefaultInstanceForType
public DominionGrpc.ScvSetCredentialsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DominionGrpc.ScvSetCredentialsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DominionGrpc.ScvSetCredentialsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
setField
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
clearField
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
clearOneof
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
setRepeatedField
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
addRepeatedField
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
mergeFrom
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
mergeFrom
public DominionGrpc.ScvSetCredentialsRequest.Builder mergeFrom(DominionGrpc.ScvSetCredentialsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ScvSetCredentialsRequest.Builder>
-
mergeFrom
public DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
- Throws:
IOException
-
hasClientCredentials
public boolean hasClientCredentials()
.dominion.v1.ClientCredentials clientCredentials = 1;
- Specified by:
hasClientCredentials
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
- Returns:
- Whether the clientCredentials field is set.
-
getClientCredentials
public DominionGrpc.ClientCredentials getClientCredentials()
.dominion.v1.ClientCredentials clientCredentials = 1;
- Specified by:
getClientCredentials
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
- Returns:
- The clientCredentials.
-
setClientCredentials
public DominionGrpc.ScvSetCredentialsRequest.Builder setClientCredentials(DominionGrpc.ClientCredentials value)
.dominion.v1.ClientCredentials clientCredentials = 1;
-
setClientCredentials
public DominionGrpc.ScvSetCredentialsRequest.Builder setClientCredentials(DominionGrpc.ClientCredentials.Builder builderForValue)
.dominion.v1.ClientCredentials clientCredentials = 1;
-
mergeClientCredentials
public DominionGrpc.ScvSetCredentialsRequest.Builder mergeClientCredentials(DominionGrpc.ClientCredentials value)
.dominion.v1.ClientCredentials clientCredentials = 1;
-
clearClientCredentials
public DominionGrpc.ScvSetCredentialsRequest.Builder clearClientCredentials()
.dominion.v1.ClientCredentials clientCredentials = 1;
-
getClientCredentialsBuilder
public DominionGrpc.ClientCredentials.Builder getClientCredentialsBuilder()
.dominion.v1.ClientCredentials clientCredentials = 1;
-
getClientCredentialsOrBuilder
public DominionGrpc.ClientCredentialsOrBuilder getClientCredentialsOrBuilder()
.dominion.v1.ClientCredentials clientCredentials = 1;
- Specified by:
getClientCredentialsOrBuilder
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
-
getAlias
public String getAlias()
string alias = 2;
- Specified by:
getAlias
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
- Returns:
- The alias.
-
getAliasBytes
public com.google.protobuf.ByteString getAliasBytes()
string alias = 2;
- Specified by:
getAliasBytes
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
- Returns:
- The bytes for alias.
-
setAlias
public DominionGrpc.ScvSetCredentialsRequest.Builder setAlias(String value)
string alias = 2;
- Parameters:
value
- The alias to set.- Returns:
- This builder for chaining.
-
clearAlias
public DominionGrpc.ScvSetCredentialsRequest.Builder clearAlias()
string alias = 2;
- Returns:
- This builder for chaining.
-
setAliasBytes
public DominionGrpc.ScvSetCredentialsRequest.Builder setAliasBytes(com.google.protobuf.ByteString value)
string alias = 2;
- Parameters:
value
- The bytes for alias to set.- Returns:
- This builder for chaining.
-
getUser
public String getUser()
string user = 3;
- Specified by:
getUser
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()
string user = 3;
- Specified by:
getUserBytes
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
- Returns:
- The bytes for user.
-
setUser
public DominionGrpc.ScvSetCredentialsRequest.Builder setUser(String value)
string user = 3;
- Parameters:
value
- The user to set.- Returns:
- This builder for chaining.
-
clearUser
public DominionGrpc.ScvSetCredentialsRequest.Builder clearUser()
string user = 3;
- Returns:
- This builder for chaining.
-
setUserBytes
public DominionGrpc.ScvSetCredentialsRequest.Builder setUserBytes(com.google.protobuf.ByteString value)
string user = 3;
- Parameters:
value
- The bytes for user to set.- Returns:
- This builder for chaining.
-
getPassword
public String getPassword()
string password = 4;
- Specified by:
getPassword
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()
string password = 4;
- Specified by:
getPasswordBytes
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
- Returns:
- The bytes for password.
-
setPassword
public DominionGrpc.ScvSetCredentialsRequest.Builder setPassword(String value)
string password = 4;
- Parameters:
value
- The password to set.- Returns:
- This builder for chaining.
-
clearPassword
public DominionGrpc.ScvSetCredentialsRequest.Builder clearPassword()
string password = 4;
- Returns:
- This builder for chaining.
-
setPasswordBytes
public DominionGrpc.ScvSetCredentialsRequest.Builder setPasswordBytes(com.google.protobuf.ByteString value)
string password = 4;
- Parameters:
value
- The bytes for password to set.- Returns:
- This builder for chaining.
-
getAttributesCount
public int getAttributesCount()
Description copied from interface:DominionGrpc.ScvSetCredentialsRequestOrBuilder
map<string, string> attributes = 5;
- Specified by:
getAttributesCount
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
-
containsAttributes
public boolean containsAttributes(String key)
map<string, string> attributes = 5;
- Specified by:
containsAttributes
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
-
getAttributes
@Deprecated public Map<String,String> getAttributes()
Deprecated.UsegetAttributesMap()
instead.- Specified by:
getAttributes
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
-
getAttributesMap
public Map<String,String> getAttributesMap()
map<string, string> attributes = 5;
- Specified by:
getAttributesMap
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
-
getAttributesOrDefault
public String getAttributesOrDefault(String key, String defaultValue)
map<string, string> attributes = 5;
- Specified by:
getAttributesOrDefault
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
-
getAttributesOrThrow
public String getAttributesOrThrow(String key)
map<string, string> attributes = 5;
- Specified by:
getAttributesOrThrow
in interfaceDominionGrpc.ScvSetCredentialsRequestOrBuilder
-
clearAttributes
public DominionGrpc.ScvSetCredentialsRequest.Builder clearAttributes()
-
removeAttributes
public DominionGrpc.ScvSetCredentialsRequest.Builder removeAttributes(String key)
map<string, string> attributes = 5;
-
getMutableAttributes
@Deprecated public Map<String,String> getMutableAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putAttributes
public DominionGrpc.ScvSetCredentialsRequest.Builder putAttributes(String key, String value)
map<string, string> attributes = 5;
-
putAllAttributes
public DominionGrpc.ScvSetCredentialsRequest.Builder putAllAttributes(Map<String,String> values)
map<string, string> attributes = 5;
-
setUnknownFields
public final DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
mergeUnknownFields
public final DominionGrpc.ScvSetCredentialsRequest.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.ScvSetCredentialsRequest.Builder>
-
-