public static final class HubAuthentication.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HubAuthentication.Builder> implements HubAuthenticationOrBuilder
Messages used in request/responses to the Hub Manager APIProtobuf type
alluxio.hub.proto.HubAuthentication
Modifier and Type | Method and Description |
---|---|
HubAuthentication.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HubAuthentication |
build() |
HubAuthentication |
buildPartial() |
HubAuthentication.Builder |
clear() |
HubAuthentication.Builder |
clearApiKey()
optional string api_key = 1; |
HubAuthentication.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HubAuthentication.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HubAuthentication.Builder |
clearSecretKey()
optional string secret_key = 2; |
HubAuthentication.Builder |
clone() |
String |
getApiKey()
optional string api_key = 1; |
com.google.protobuf.ByteString |
getApiKeyBytes()
optional string api_key = 1; |
HubAuthentication |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getSecretKey()
optional string secret_key = 2; |
com.google.protobuf.ByteString |
getSecretKeyBytes()
optional string secret_key = 2; |
boolean |
hasApiKey()
optional string api_key = 1; |
boolean |
hasSecretKey()
optional string secret_key = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HubAuthentication.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HubAuthentication.Builder |
mergeFrom(HubAuthentication other) |
HubAuthentication.Builder |
mergeFrom(com.google.protobuf.Message other) |
HubAuthentication.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HubAuthentication.Builder |
setApiKey(String value)
optional string api_key = 1; |
HubAuthentication.Builder |
setApiKeyBytes(com.google.protobuf.ByteString value)
optional string api_key = 1; |
HubAuthentication.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HubAuthentication.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HubAuthentication.Builder |
setSecretKey(String value)
optional string secret_key = 2; |
HubAuthentication.Builder |
setSecretKeyBytes(com.google.protobuf.ByteString value)
optional string secret_key = 2; |
HubAuthentication.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<HubAuthentication.Builder>
public HubAuthentication.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<HubAuthentication.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<HubAuthentication.Builder>
public HubAuthentication getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HubAuthentication build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HubAuthentication buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HubAuthentication.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<HubAuthentication.Builder>
public HubAuthentication.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<HubAuthentication.Builder>
public HubAuthentication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<HubAuthentication.Builder>
public HubAuthentication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<HubAuthentication.Builder>
public HubAuthentication.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<HubAuthentication.Builder>
public HubAuthentication.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<HubAuthentication.Builder>
public HubAuthentication.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HubAuthentication.Builder>
public HubAuthentication.Builder mergeFrom(HubAuthentication other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<HubAuthentication.Builder>
public HubAuthentication.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<HubAuthentication.Builder>
IOException
public boolean hasApiKey()
optional string api_key = 1;
hasApiKey
in interface HubAuthenticationOrBuilder
public String getApiKey()
optional string api_key = 1;
getApiKey
in interface HubAuthenticationOrBuilder
public com.google.protobuf.ByteString getApiKeyBytes()
optional string api_key = 1;
getApiKeyBytes
in interface HubAuthenticationOrBuilder
public HubAuthentication.Builder setApiKey(String value)
optional string api_key = 1;
value
- The apiKey to set.public HubAuthentication.Builder clearApiKey()
optional string api_key = 1;
public HubAuthentication.Builder setApiKeyBytes(com.google.protobuf.ByteString value)
optional string api_key = 1;
value
- The bytes for apiKey to set.public boolean hasSecretKey()
optional string secret_key = 2;
hasSecretKey
in interface HubAuthenticationOrBuilder
public String getSecretKey()
optional string secret_key = 2;
getSecretKey
in interface HubAuthenticationOrBuilder
public com.google.protobuf.ByteString getSecretKeyBytes()
optional string secret_key = 2;
getSecretKeyBytes
in interface HubAuthenticationOrBuilder
public HubAuthentication.Builder setSecretKey(String value)
optional string secret_key = 2;
value
- The secretKey to set.public HubAuthentication.Builder clearSecretKey()
optional string secret_key = 2;
public HubAuthentication.Builder setSecretKeyBytes(com.google.protobuf.ByteString value)
optional string secret_key = 2;
value
- The bytes for secretKey to set.public final HubAuthentication.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<HubAuthentication.Builder>
public final HubAuthentication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<HubAuthentication.Builder>
Copyright © 2023. All Rights Reserved.