Package com.google.cloud.compute.v1
Class FileContentBuffer.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
- com.google.cloud.compute.v1.FileContentBuffer.Builder
-
- All Implemented Interfaces:
FileContentBufferOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FileContentBuffer
public static final class FileContentBuffer.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder> implements FileContentBufferOrBuilder
Protobuf typegoogle.cloud.compute.v1.FileContentBuffer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FileContentBuffer.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FileContentBufferbuild()FileContentBufferbuildPartial()FileContentBuffer.Builderclear()FileContentBuffer.BuilderclearContent()The raw content in the secure keys file.FileContentBuffer.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FileContentBuffer.BuilderclearFileType()The file type of source file.FileContentBuffer.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FileContentBuffer.Builderclone()StringgetContent()The raw content in the secure keys file.com.google.protobuf.ByteStringgetContentBytes()The raw content in the secure keys file.FileContentBuffergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFileType()The file type of source file.com.google.protobuf.ByteStringgetFileTypeBytes()The file type of source file.booleanhasContent()The raw content in the secure keys file.booleanhasFileType()The file type of source file.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FileContentBuffer.BuildermergeFrom(FileContentBuffer other)FileContentBuffer.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FileContentBuffer.BuildermergeFrom(com.google.protobuf.Message other)FileContentBuffer.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FileContentBuffer.BuildersetContent(String value)The raw content in the secure keys file.FileContentBuffer.BuildersetContentBytes(com.google.protobuf.ByteString value)The raw content in the secure keys file.FileContentBuffer.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FileContentBuffer.BuildersetFileType(String value)The file type of source file.FileContentBuffer.BuildersetFileTypeBytes(com.google.protobuf.ByteString value)The file type of source file.FileContentBuffer.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FileContentBuffer.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
clear
public FileContentBuffer.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.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.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
getDefaultInstanceForType
public FileContentBuffer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FileContentBuffer build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FileContentBuffer buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FileContentBuffer.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
setField
public FileContentBuffer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
clearField
public FileContentBuffer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
clearOneof
public FileContentBuffer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
setRepeatedField
public FileContentBuffer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
addRepeatedField
public FileContentBuffer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
mergeFrom
public FileContentBuffer.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FileContentBuffer.Builder>
-
mergeFrom
public FileContentBuffer.Builder mergeFrom(FileContentBuffer other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
mergeFrom
public FileContentBuffer.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<FileContentBuffer.Builder>- Throws:
IOException
-
hasContent
public boolean hasContent()
The raw content in the secure keys file.
optional string content = 414659705;- Specified by:
hasContentin interfaceFileContentBufferOrBuilder- Returns:
- Whether the content field is set.
-
getContent
public String getContent()
The raw content in the secure keys file.
optional string content = 414659705;- Specified by:
getContentin interfaceFileContentBufferOrBuilder- Returns:
- The content.
-
getContentBytes
public com.google.protobuf.ByteString getContentBytes()
The raw content in the secure keys file.
optional string content = 414659705;- Specified by:
getContentBytesin interfaceFileContentBufferOrBuilder- Returns:
- The bytes for content.
-
setContent
public FileContentBuffer.Builder setContent(String value)
The raw content in the secure keys file.
optional string content = 414659705;- Parameters:
value- The content to set.- Returns:
- This builder for chaining.
-
clearContent
public FileContentBuffer.Builder clearContent()
The raw content in the secure keys file.
optional string content = 414659705;- Returns:
- This builder for chaining.
-
setContentBytes
public FileContentBuffer.Builder setContentBytes(com.google.protobuf.ByteString value)
The raw content in the secure keys file.
optional string content = 414659705;- Parameters:
value- The bytes for content to set.- Returns:
- This builder for chaining.
-
hasFileType
public boolean hasFileType()
The file type of source file. Check the FileType enum for the list of possible values.
optional string file_type = 294346781;- Specified by:
hasFileTypein interfaceFileContentBufferOrBuilder- Returns:
- Whether the fileType field is set.
-
getFileType
public String getFileType()
The file type of source file. Check the FileType enum for the list of possible values.
optional string file_type = 294346781;- Specified by:
getFileTypein interfaceFileContentBufferOrBuilder- Returns:
- The fileType.
-
getFileTypeBytes
public com.google.protobuf.ByteString getFileTypeBytes()
The file type of source file. Check the FileType enum for the list of possible values.
optional string file_type = 294346781;- Specified by:
getFileTypeBytesin interfaceFileContentBufferOrBuilder- Returns:
- The bytes for fileType.
-
setFileType
public FileContentBuffer.Builder setFileType(String value)
The file type of source file. Check the FileType enum for the list of possible values.
optional string file_type = 294346781;- Parameters:
value- The fileType to set.- Returns:
- This builder for chaining.
-
clearFileType
public FileContentBuffer.Builder clearFileType()
The file type of source file. Check the FileType enum for the list of possible values.
optional string file_type = 294346781;- Returns:
- This builder for chaining.
-
setFileTypeBytes
public FileContentBuffer.Builder setFileTypeBytes(com.google.protobuf.ByteString value)
The file type of source file. Check the FileType enum for the list of possible values.
optional string file_type = 294346781;- Parameters:
value- The bytes for fileType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FileContentBuffer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
mergeUnknownFields
public final FileContentBuffer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
-