java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetSaResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetSaResponse.Builder>
org.yamcs.protobuf.GetSaResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GetSaResponseOrBuilder
- Enclosing class:
GetSaResponse
public static final class GetSaResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetSaResponse.Builder>
implements GetSaResponseOrBuilder
Protobuf type
yamcs.protobuf.sdls.GetSaResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the algorithm used in the Security AssociationThe length of the secret key in bitsThe size of the security headerThe total SDLS overhead for the SAThe size of the security trailerclearSeq()The current sequence number in big-endian orderThe name of the algorithm used in the Security Associationcom.google.protobuf.ByteStringThe name of the algorithm used in the Security Associationstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe length of the secret key in bitsintThe size of the security headerintThe total SDLS overhead for the SAintThe size of the security trailercom.google.protobuf.ByteStringgetSeq()The current sequence number in big-endian orderbooleanThe name of the algorithm used in the Security AssociationbooleanThe length of the secret key in bitsbooleanThe size of the security headerbooleanThe total SDLS overhead for the SAbooleanThe size of the security trailerbooleanhasSeq()The current sequence number in big-endian orderprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GetSaResponse other) setAlgorithm(String value) The name of the algorithm used in the Security AssociationsetAlgorithmBytes(com.google.protobuf.ByteString value) The name of the algorithm used in the Security AssociationsetKeyLen(int value) The length of the secret key in bitssetSdlsHeaderSize(int value) The size of the security headersetSdlsOverhead(int value) The total SDLS overhead for the SAsetSdlsTrailerSize(int value) The size of the security trailersetSeq(com.google.protobuf.ByteString value) The current sequence number in big-endian orderMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetSaResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetSaResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetSaResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetSaResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetSaResponse.Builder>
-
mergeFrom
public GetSaResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetSaResponse.Builder>- Throws:
IOException
-
hasSeq
public boolean hasSeq()The current sequence number in big-endian order
required bytes seq = 1;- Specified by:
hasSeqin interfaceGetSaResponseOrBuilder- Returns:
- Whether the seq field is set.
-
getSeq
public com.google.protobuf.ByteString getSeq()The current sequence number in big-endian order
required bytes seq = 1;- Specified by:
getSeqin interfaceGetSaResponseOrBuilder- Returns:
- The seq.
-
setSeq
The current sequence number in big-endian order
required bytes seq = 1;- Parameters:
value- The seq to set.- Returns:
- This builder for chaining.
-
clearSeq
The current sequence number in big-endian order
required bytes seq = 1;- Returns:
- This builder for chaining.
-
hasAlgorithm
public boolean hasAlgorithm()The name of the algorithm used in the Security Association
required string algorithm = 2;- Specified by:
hasAlgorithmin interfaceGetSaResponseOrBuilder- Returns:
- Whether the algorithm field is set.
-
getAlgorithm
The name of the algorithm used in the Security Association
required string algorithm = 2;- Specified by:
getAlgorithmin interfaceGetSaResponseOrBuilder- Returns:
- The algorithm.
-
getAlgorithmBytes
public com.google.protobuf.ByteString getAlgorithmBytes()The name of the algorithm used in the Security Association
required string algorithm = 2;- Specified by:
getAlgorithmBytesin interfaceGetSaResponseOrBuilder- Returns:
- The bytes for algorithm.
-
setAlgorithm
The name of the algorithm used in the Security Association
required string algorithm = 2;- Parameters:
value- The algorithm to set.- Returns:
- This builder for chaining.
-
clearAlgorithm
The name of the algorithm used in the Security Association
required string algorithm = 2;- Returns:
- This builder for chaining.
-
setAlgorithmBytes
The name of the algorithm used in the Security Association
required string algorithm = 2;- Parameters:
value- The bytes for algorithm to set.- Returns:
- This builder for chaining.
-
hasKeyLen
public boolean hasKeyLen()The length of the secret key in bits
required uint32 keyLen = 3;- Specified by:
hasKeyLenin interfaceGetSaResponseOrBuilder- Returns:
- Whether the keyLen field is set.
-
getKeyLen
public int getKeyLen()The length of the secret key in bits
required uint32 keyLen = 3;- Specified by:
getKeyLenin interfaceGetSaResponseOrBuilder- Returns:
- The keyLen.
-
setKeyLen
The length of the secret key in bits
required uint32 keyLen = 3;- Parameters:
value- The keyLen to set.- Returns:
- This builder for chaining.
-
clearKeyLen
The length of the secret key in bits
required uint32 keyLen = 3;- Returns:
- This builder for chaining.
-
hasSdlsHeaderSize
public boolean hasSdlsHeaderSize()The size of the security header
required uint32 sdlsHeaderSize = 4;- Specified by:
hasSdlsHeaderSizein interfaceGetSaResponseOrBuilder- Returns:
- Whether the sdlsHeaderSize field is set.
-
getSdlsHeaderSize
public int getSdlsHeaderSize()The size of the security header
required uint32 sdlsHeaderSize = 4;- Specified by:
getSdlsHeaderSizein interfaceGetSaResponseOrBuilder- Returns:
- The sdlsHeaderSize.
-
setSdlsHeaderSize
The size of the security header
required uint32 sdlsHeaderSize = 4;- Parameters:
value- The sdlsHeaderSize to set.- Returns:
- This builder for chaining.
-
clearSdlsHeaderSize
The size of the security header
required uint32 sdlsHeaderSize = 4;- Returns:
- This builder for chaining.
-
hasSdlsTrailerSize
public boolean hasSdlsTrailerSize()The size of the security trailer
required uint32 sdlsTrailerSize = 5;- Specified by:
hasSdlsTrailerSizein interfaceGetSaResponseOrBuilder- Returns:
- Whether the sdlsTrailerSize field is set.
-
getSdlsTrailerSize
public int getSdlsTrailerSize()The size of the security trailer
required uint32 sdlsTrailerSize = 5;- Specified by:
getSdlsTrailerSizein interfaceGetSaResponseOrBuilder- Returns:
- The sdlsTrailerSize.
-
setSdlsTrailerSize
The size of the security trailer
required uint32 sdlsTrailerSize = 5;- Parameters:
value- The sdlsTrailerSize to set.- Returns:
- This builder for chaining.
-
clearSdlsTrailerSize
The size of the security trailer
required uint32 sdlsTrailerSize = 5;- Returns:
- This builder for chaining.
-
hasSdlsOverhead
public boolean hasSdlsOverhead()The total SDLS overhead for the SA
required uint32 sdlsOverhead = 6;- Specified by:
hasSdlsOverheadin interfaceGetSaResponseOrBuilder- Returns:
- Whether the sdlsOverhead field is set.
-
getSdlsOverhead
public int getSdlsOverhead()The total SDLS overhead for the SA
required uint32 sdlsOverhead = 6;- Specified by:
getSdlsOverheadin interfaceGetSaResponseOrBuilder- Returns:
- The sdlsOverhead.
-
setSdlsOverhead
The total SDLS overhead for the SA
required uint32 sdlsOverhead = 6;- Parameters:
value- The sdlsOverhead to set.- Returns:
- This builder for chaining.
-
clearSdlsOverhead
The total SDLS overhead for the SA
required uint32 sdlsOverhead = 6;- Returns:
- This builder for chaining.
-