public final class FileContentBuffer extends GeneratedMessage implements FileContentBufferOrBuilder Protobuf type google.cloud.compute.v1.FileContentBuffer
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FileContentBufferImplements
FileContentBufferOrBuilderStatic 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 |
|
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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public FileContentBuffer.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FileContentBuffer.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FileContentBuffer.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FileContentBuffer.Builder |
|
toBuilder()
public FileContentBuffer.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
FileContentBuffer.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|