- 0.55.0 (latest)
- 0.53.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class File.Builder extends GeneratedMessage.Builder<File.Builder> implements FileOrBuilderFile represents a yaml file present in a blueprint's package.
Protobuf type google.cloud.telcoautomation.v1.File
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > File.BuilderImplements
FileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public File build()| Returns | |
|---|---|
| Type | Description |
File |
|
buildPartial()
public File buildPartial()| Returns | |
|---|---|
| Type | Description |
File |
|
clear()
public File.Builder clear()| Returns | |
|---|---|
| Type | Description |
File.Builder |
|
clearContent()
public File.Builder clearContent()Optional. The contents of a file in string format.
string content = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |
clearDeleted()
public File.Builder clearDeleted()Optional. Signifies whether a file is marked for deletion.
bool deleted = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |
clearEditable()
public File.Builder clearEditable()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 |
File.Builder |
This builder for chaining. |
clearPath()
public File.Builder clearPath() Required. Path of the file in package.
e.g. gdce/v1/cluster.yaml
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getPath()
public String 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(File other)
public File.Builder mergeFrom(File other)| Parameter | |
|---|---|
| Name | Description |
other |
File |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public File.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public File.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
|
setContent(String value)
public File.Builder setContent(String value)Optional. The contents of a file in string format.
string content = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe content to set. |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |
setContentBytes(ByteString value)
public File.Builder setContentBytes(ByteString value)Optional. The contents of a file in string format.
string content = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for content to set. |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |
setDeleted(boolean value)
public File.Builder setDeleted(boolean value)Optional. Signifies whether a file is marked for deletion.
bool deleted = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe deleted to set. |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |
setEditable(boolean value)
public File.Builder setEditable(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe editable to set. |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |
setPath(String value)
public File.Builder setPath(String value) Required. Path of the file in package.
e.g. gdce/v1/cluster.yaml
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public File.Builder setPathBytes(ByteString value) Required. Path of the file in package.
e.g. gdce/v1/cluster.yaml
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
File.Builder |
This builder for chaining. |