Class FileContentBuffer (1.52.0)

public final class FileContentBuffer extends GeneratedMessageV3 implements FileContentBufferOrBuilder

Protobuf type google.cloud.compute.v1.FileContentBuffer

Static Fields

CONTENT_FIELD_NUMBER

public static final int CONTENT_FIELD_NUMBER
Field Value
Type Description
int

FILE_TYPE_FIELD_NUMBER

public static final int FILE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FileContentBuffer getDefaultInstance()
Returns
Type Description
FileContentBuffer

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FileContentBuffer.Builder newBuilder()
Returns
Type Description
FileContentBuffer.Builder

newBuilder(FileContentBuffer prototype)

public static FileContentBuffer.Builder newBuilder(FileContentBuffer prototype)
Parameter
Name Description
prototype FileContentBuffer
Returns
Type Description
FileContentBuffer.Builder

parseDelimitedFrom(InputStream input)

public static FileContentBuffer parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileContentBuffer parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FileContentBuffer parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FileContentBuffer parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FileContentBuffer parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FileContentBuffer parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FileContentBuffer parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FileContentBuffer parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FileContentBuffer parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileContentBuffer parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FileContentBuffer parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FileContentBuffer parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileContentBuffer
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FileContentBuffer> parser()
Returns
Type Description
Parser<FileContentBuffer>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContent()

public String getContent()

The raw content in the secure keys file.

optional string content = 414659705;

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

The raw content in the secure keys file.

optional string content = 414659705;

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public FileContentBuffer getDefaultInstanceForType()
Returns
Type Description
FileContentBuffer

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;

Returns
Type Description
String

The fileType.

getFileTypeBytes()

public ByteString getFileTypeBytes()

The file type of source file. Check the FileType enum for the list of possible values.

optional string file_type = 294346781;

Returns
Type Description
ByteString

The bytes for fileType.

getParserForType()

public Parser<FileContentBuffer> getParserForType()
Returns
Type Description
Parser<FileContentBuffer>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasContent()

public boolean hasContent()

The raw content in the secure keys file.

optional string content = 414659705;

Returns
Type Description
boolean

Whether the content field is set.

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;

Returns
Type Description
boolean

Whether the fileType field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FileContentBuffer.Builder newBuilderForType()
Returns
Type Description
FileContentBuffer.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FileContentBuffer.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FileContentBuffer.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FileContentBuffer.Builder toBuilder()
Returns
Type Description
FileContentBuffer.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException