Class File (0.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class File extends GeneratedMessageV3 implements FileOrBuilder
File represents a yaml file present in a blueprint's package.
Protobuf type google.cloud.telcoautomation.v1.File
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DELETED_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EDITABLE_FIELD_NUMBER
public static final int EDITABLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static File getDefaultInstance()
Returns |
Type |
Description |
File |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static File.Builder newBuilder()
newBuilder(File prototype)
public static File.Builder newBuilder(File prototype)
Parameter |
Name |
Description |
prototype |
File
|
public static File parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
File |
|
public static File parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
File |
|
parseFrom(byte[] data)
public static File parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
File |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static File parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
File |
|
parseFrom(ByteString data)
public static File parseFrom(ByteString data)
Returns |
Type |
Description |
File |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static File parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
File |
|
public static File parseFrom(CodedInputStream input)
Returns |
Type |
Description |
File |
|
public static File parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
File |
|
public static File parseFrom(InputStream input)
Returns |
Type |
Description |
File |
|
public static File parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
File |
|
parseFrom(ByteBuffer data)
public static File parseFrom(ByteBuffer data)
Returns |
Type |
Description |
File |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static File parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
File |
|
parser()
public static Parser<File> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getContent()
public String getContent()
Optional. The contents of a file in string format.
string content = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The content.
|
getContentBytes()
public ByteString getContentBytes()
Optional. The contents of a file in string format.
string content = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for content.
|
getDefaultInstanceForType()
public File getDefaultInstanceForType()
Returns |
Type |
Description |
File |
|
getDeleted()
public boolean getDeleted()
Optional. Signifies whether a file is marked for deletion.
bool deleted = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The deleted.
|
getEditable()
public boolean getEditable()
Optional. Indicates whether changes are allowed to a file. If the field is
not set, the file cannot be edited.
bool editable = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The editable.
|
getParserForType()
public Parser<File> getParserForType()
Overrides
getPath()
Required. Path of the file in package.
e.g. gdce/v1/cluster.yaml
string path = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The path.
|
getPathBytes()
public ByteString getPathBytes()
Required. Path of the file in package.
e.g. gdce/v1/cluster.yaml
string path = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for path.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public File.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected File.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public File.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]