Class DominionGrpc.ClientCredentials.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ClientCredentials.Builder>
-
- org.opennms.dominion.local.rpc.grpc.DominionGrpc.ClientCredentials.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,DominionGrpc.ClientCredentialsOrBuilder
- Enclosing class:
- DominionGrpc.ClientCredentials
public static final class DominionGrpc.ClientCredentials.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ClientCredentials.Builder> implements DominionGrpc.ClientCredentialsOrBuilder
Protobuf typedominion.v1.ClientCredentials
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ClientCredentials.Builder>
-
clear
public DominionGrpc.ClientCredentials.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.ClientCredentials.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.ClientCredentials.Builder>
-
getDefaultInstanceForType
public DominionGrpc.ClientCredentials getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DominionGrpc.ClientCredentials build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DominionGrpc.ClientCredentials buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
setField
public DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
clearField
public DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
clearOneof
public DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
setRepeatedField
public DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
addRepeatedField
public DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
mergeFrom
public DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
mergeFrom
public DominionGrpc.ClientCredentials.Builder mergeFrom(DominionGrpc.ClientCredentials other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DominionGrpc.ClientCredentials.Builder>
-
mergeFrom
public DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
- Throws:
IOException
-
getClientId
public String getClientId()
string clientId = 1;
- Specified by:
getClientId
in interfaceDominionGrpc.ClientCredentialsOrBuilder
- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
string clientId = 1;
- Specified by:
getClientIdBytes
in interfaceDominionGrpc.ClientCredentialsOrBuilder
- Returns:
- The bytes for clientId.
-
setClientId
public DominionGrpc.ClientCredentials.Builder setClientId(String value)
string clientId = 1;
- Parameters:
value
- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
public DominionGrpc.ClientCredentials.Builder clearClientId()
string clientId = 1;
- Returns:
- This builder for chaining.
-
setClientIdBytes
public DominionGrpc.ClientCredentials.Builder setClientIdBytes(com.google.protobuf.ByteString value)
string clientId = 1;
- Parameters:
value
- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
getClientSecret
public String getClientSecret()
string clientSecret = 2;
- Specified by:
getClientSecret
in interfaceDominionGrpc.ClientCredentialsOrBuilder
- Returns:
- The clientSecret.
-
getClientSecretBytes
public com.google.protobuf.ByteString getClientSecretBytes()
string clientSecret = 2;
- Specified by:
getClientSecretBytes
in interfaceDominionGrpc.ClientCredentialsOrBuilder
- Returns:
- The bytes for clientSecret.
-
setClientSecret
public DominionGrpc.ClientCredentials.Builder setClientSecret(String value)
string clientSecret = 2;
- Parameters:
value
- The clientSecret to set.- Returns:
- This builder for chaining.
-
clearClientSecret
public DominionGrpc.ClientCredentials.Builder clearClientSecret()
string clientSecret = 2;
- Returns:
- This builder for chaining.
-
setClientSecretBytes
public DominionGrpc.ClientCredentials.Builder setClientSecretBytes(com.google.protobuf.ByteString value)
string clientSecret = 2;
- Parameters:
value
- The bytes for clientSecret to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
mergeUnknownFields
public final DominionGrpc.ClientCredentials.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.ClientCredentials.Builder>
-
-