Package gauge.messages
Class Messages.StubImplementationCodeRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Messages.StubImplementationCodeRequest.Builder>
gauge.messages.Messages.StubImplementationCodeRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.StubImplementationCodeRequestOrBuilder,Cloneable
- Enclosing class:
- Messages.StubImplementationCodeRequest
public static final class Messages.StubImplementationCodeRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Messages.StubImplementationCodeRequest.Builder>
implements Messages.StubImplementationCodeRequestOrBuilder
/ Request for injecting code snippet into implementation fileProtobuf type
gauge.messages.StubImplementationCodeRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllCodes(Iterable<String> values) / List of implementation codes to be appended to implementation file./ List of implementation codes to be appended to implementation file.addCodesBytes(com.google.protobuf.ByteString value) / List of implementation codes to be appended to implementation file.build()clear()/ List of implementation codes to be appended to implementation file./ Path of the file where the new stub implementation will be addedgetCodes(int index) / List of implementation codes to be appended to implementation file.com.google.protobuf.ByteStringgetCodesBytes(int index) / List of implementation codes to be appended to implementation file.int/ List of implementation codes to be appended to implementation file.com.google.protobuf.ProtocolStringList/ List of implementation codes to be appended to implementation file.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor/ Path of the file where the new stub implementation will be addedcom.google.protobuf.ByteString/ Path of the file where the new stub implementation will be addedprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) / List of implementation codes to be appended to implementation file.setImplementationFilePath(String value) / Path of the file where the new stub implementation will be addedsetImplementationFilePathBytes(com.google.protobuf.ByteString value) / Path of the file where the new stub implementation will be addedMethods 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<Messages.StubImplementationCodeRequest.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<Messages.StubImplementationCodeRequest.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<Messages.StubImplementationCodeRequest.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<Messages.StubImplementationCodeRequest.Builder>
-
mergeFrom
public Messages.StubImplementationCodeRequest.Builder mergeFrom(Messages.StubImplementationCodeRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Messages.StubImplementationCodeRequest.Builder>
-
mergeFrom
public Messages.StubImplementationCodeRequest.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<Messages.StubImplementationCodeRequest.Builder>- Throws:
IOException
-
getImplementationFilePath
/ Path of the file where the new stub implementation will be added
string implementationFilePath = 1;- Specified by:
getImplementationFilePathin interfaceMessages.StubImplementationCodeRequestOrBuilder- Returns:
- The implementationFilePath.
-
getImplementationFilePathBytes
public com.google.protobuf.ByteString getImplementationFilePathBytes()/ Path of the file where the new stub implementation will be added
string implementationFilePath = 1;- Specified by:
getImplementationFilePathBytesin interfaceMessages.StubImplementationCodeRequestOrBuilder- Returns:
- The bytes for implementationFilePath.
-
setImplementationFilePath
/ Path of the file where the new stub implementation will be added
string implementationFilePath = 1;- Parameters:
value- The implementationFilePath to set.- Returns:
- This builder for chaining.
-
clearImplementationFilePath
/ Path of the file where the new stub implementation will be added
string implementationFilePath = 1;- Returns:
- This builder for chaining.
-
setImplementationFilePathBytes
public Messages.StubImplementationCodeRequest.Builder setImplementationFilePathBytes(com.google.protobuf.ByteString value) / Path of the file where the new stub implementation will be added
string implementationFilePath = 1;- Parameters:
value- The bytes for implementationFilePath to set.- Returns:
- This builder for chaining.
-
getCodesList
public com.google.protobuf.ProtocolStringList getCodesList()/ List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Specified by:
getCodesListin interfaceMessages.StubImplementationCodeRequestOrBuilder- Returns:
- A list containing the codes.
-
getCodesCount
public int getCodesCount()/ List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Specified by:
getCodesCountin interfaceMessages.StubImplementationCodeRequestOrBuilder- Returns:
- The count of codes.
-
getCodes
/ List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Specified by:
getCodesin interfaceMessages.StubImplementationCodeRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The codes at the given index.
-
getCodesBytes
public com.google.protobuf.ByteString getCodesBytes(int index) / List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Specified by:
getCodesBytesin interfaceMessages.StubImplementationCodeRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the codes at the given index.
-
setCodes
/ List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Parameters:
index- The index to set the value at.value- The codes to set.- Returns:
- This builder for chaining.
-
addCodes
/ List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Parameters:
value- The codes to add.- Returns:
- This builder for chaining.
-
addAllCodes
/ List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Parameters:
values- The codes to add.- Returns:
- This builder for chaining.
-
clearCodes
/ List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Returns:
- This builder for chaining.
-
addCodesBytes
public Messages.StubImplementationCodeRequest.Builder addCodesBytes(com.google.protobuf.ByteString value) / List of implementation codes to be appended to implementation file.
repeated string codes = 2;- Parameters:
value- The bytes of the codes to add.- Returns:
- This builder for chaining.
-