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
google.cloud.compute.v1.FileContentBuffer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FileContentBuffer.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FileContentBuffer
build()
FileContentBuffer
buildPartial()
FileContentBuffer.Builder
clear()
FileContentBuffer.Builder
clearContent()
The raw content in the secure keys file.FileContentBuffer.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FileContentBuffer.Builder
clearFileType()
The file type of source file.FileContentBuffer.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FileContentBuffer.Builder
clone()
String
getContent()
The raw content in the secure keys file.com.google.protobuf.ByteString
getContentBytes()
The raw content in the secure keys file.FileContentBuffer
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFileType()
The file type of source file.com.google.protobuf.ByteString
getFileTypeBytes()
The file type of source file.boolean
hasContent()
The raw content in the secure keys file.boolean
hasFileType()
The file type of source file.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
FileContentBuffer.Builder
mergeFrom(FileContentBuffer other)
FileContentBuffer.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FileContentBuffer.Builder
mergeFrom(com.google.protobuf.Message other)
FileContentBuffer.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FileContentBuffer.Builder
setContent(String value)
The raw content in the secure keys file.FileContentBuffer.Builder
setContentBytes(com.google.protobuf.ByteString value)
The raw content in the secure keys file.FileContentBuffer.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FileContentBuffer.Builder
setFileType(String value)
The file type of source file.FileContentBuffer.Builder
setFileTypeBytes(com.google.protobuf.ByteString value)
The file type of source file.FileContentBuffer.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FileContentBuffer.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
clear
public FileContentBuffer.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<FileContentBuffer.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<FileContentBuffer.Builder>
-
getDefaultInstanceForType
public FileContentBuffer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FileContentBuffer build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FileContentBuffer buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FileContentBuffer.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<FileContentBuffer.Builder>
-
setField
public FileContentBuffer.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<FileContentBuffer.Builder>
-
clearField
public FileContentBuffer.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<FileContentBuffer.Builder>
-
clearOneof
public FileContentBuffer.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<FileContentBuffer.Builder>
-
setRepeatedField
public FileContentBuffer.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<FileContentBuffer.Builder>
-
addRepeatedField
public FileContentBuffer.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<FileContentBuffer.Builder>
-
mergeFrom
public FileContentBuffer.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FileContentBuffer.Builder>
-
mergeFrom
public FileContentBuffer.Builder mergeFrom(FileContentBuffer other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasContent
in 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:
getContent
in 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:
getContentBytes
in 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:
hasFileType
in 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:
getFileType
in 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:
getFileTypeBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
mergeUnknownFields
public final FileContentBuffer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileContentBuffer.Builder>
-
-