public final class File extends GeneratedMessage implements FileOrBuilder
File represents a yaml file present in a blueprint's package.
Protobuf type google.cloud.telcoautomation.v1alpha1.File
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public File.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected File.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public File.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides