Class GlobalFrontendSettings.Builder (1.109.0)

public static final class GlobalFrontendSettings.Builder extends GeneratedMessage.Builder<GlobalFrontendSettings.Builder> implements GlobalFrontendSettingsOrBuilder

Represents the Global Frontend Bundle settings for a single project.

Protobuf type google.cloud.compute.v1.GlobalFrontendSettings

Static Methods

getDescriptor()

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

Methods

build()

public GlobalFrontendSettings build()
Returns
Type Description
GlobalFrontendSettings

buildPartial()

public GlobalFrontendSettings buildPartial()
Returns
Type Description
GlobalFrontendSettings

clear()

public GlobalFrontendSettings.Builder clear()
Returns
Type Description
GlobalFrontendSettings.Builder
Overrides

clearBundleType()

public GlobalFrontendSettings.Builder clearBundleType()

Customer-settable bundle type. Check the BundleType enum for the list of possible values.

optional string bundle_type = 291903703;

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

clearCreationTimestamp()

public GlobalFrontendSettings.Builder clearCreationTimestamp()

Output only. [Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

clearDescription()

public GlobalFrontendSettings.Builder clearDescription()

Output only. [Output Only] An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

clearEtag()

public GlobalFrontendSettings.Builder clearEtag()

Output only. For optimistic locking.

optional string etag = 3123477;

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

clearId()

public GlobalFrontendSettings.Builder clearId()

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

clearName()

public GlobalFrontendSettings.Builder clearName()

Output only. OUTPUT_ONLY fields [Output Only] Name of the resource. Must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

public GlobalFrontendSettings.Builder clearSelfLink()

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

getBundleType()

public String getBundleType()

Customer-settable bundle type. Check the BundleType enum for the list of possible values.

optional string bundle_type = 291903703;

Returns
Type Description
String

The bundleType.

getBundleTypeBytes()

public ByteString getBundleTypeBytes()

Customer-settable bundle type. Check the BundleType enum for the list of possible values.

optional string bundle_type = 291903703;

Returns
Type Description
ByteString

The bytes for bundleType.

getCreationTimestamp()

public String getCreationTimestamp()

Output only. [Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

Output only. [Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public GlobalFrontendSettings getDefaultInstanceForType()
Returns
Type Description
GlobalFrontendSettings

getDescription()

public String getDescription()

Output only. [Output Only] An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. [Output Only] An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String getEtag()

Output only. For optimistic locking.

optional string etag = 3123477;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Output only. For optimistic locking.

optional string etag = 3123477;

Returns
Type Description
ByteString

The bytes for etag.

getId()

public long getId()

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getName()

public String getName()

Output only. OUTPUT_ONLY fields [Output Only] Name of the resource. Must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. OUTPUT_ONLY fields [Output Only] Name of the resource. Must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

public String getSelfLink()

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

hasBundleType()

public boolean hasBundleType()

Customer-settable bundle type. Check the BundleType enum for the list of possible values.

optional string bundle_type = 291903703;

Returns
Type Description
boolean

Whether the bundleType field is set.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

Output only. [Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDescription()

public boolean hasDescription()

Output only. [Output Only] An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasEtag()

public boolean hasEtag()

Output only. For optimistic locking.

optional string etag = 3123477;

Returns
Type Description
boolean

Whether the etag field is set.

hasId()

public boolean hasId()

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasName()

public boolean hasName()

Output only. OUTPUT_ONLY fields [Output Only] Name of the resource. Must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

public boolean hasSelfLink()

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GlobalFrontendSettings other)

public GlobalFrontendSettings.Builder mergeFrom(GlobalFrontendSettings other)
Parameter
Name Description
other GlobalFrontendSettings
Returns
Type Description
GlobalFrontendSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GlobalFrontendSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalFrontendSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GlobalFrontendSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GlobalFrontendSettings.Builder
Overrides

setBundleType(String value)

public GlobalFrontendSettings.Builder setBundleType(String value)

Customer-settable bundle type. Check the BundleType enum for the list of possible values.

optional string bundle_type = 291903703;

Parameter
Name Description
value String

The bundleType to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setBundleTypeBytes(ByteString value)

public GlobalFrontendSettings.Builder setBundleTypeBytes(ByteString value)

Customer-settable bundle type. Check the BundleType enum for the list of possible values.

optional string bundle_type = 291903703;

Parameter
Name Description
value ByteString

The bytes for bundleType to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setCreationTimestamp(String value)

public GlobalFrontendSettings.Builder setCreationTimestamp(String value)

Output only. [Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value String

The creationTimestamp to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public GlobalFrontendSettings.Builder setCreationTimestampBytes(ByteString value)

Output only. [Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value ByteString

The bytes for creationTimestamp to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setDescription(String value)

public GlobalFrontendSettings.Builder setDescription(String value)

Output only. [Output Only] An optional description of this resource.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public GlobalFrontendSettings.Builder setDescriptionBytes(ByteString value)

Output only. [Output Only] An optional description of this resource.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setEtag(String value)

public GlobalFrontendSettings.Builder setEtag(String value)

Output only. For optimistic locking.

optional string etag = 3123477;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public GlobalFrontendSettings.Builder setEtagBytes(ByteString value)

Output only. For optimistic locking.

optional string etag = 3123477;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setId(long value)

public GlobalFrontendSettings.Builder setId(long value)

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Parameter
Name Description
value long

The id to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setName(String value)

public GlobalFrontendSettings.Builder setName(String value)

Output only. OUTPUT_ONLY fields [Output Only] Name of the resource. Must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GlobalFrontendSettings.Builder setNameBytes(ByteString value)

Output only. OUTPUT_ONLY fields [Output Only] Name of the resource. Must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

public GlobalFrontendSettings.Builder setSelfLink(String value)

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Parameter
Name Description
value String

The selfLink to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public GlobalFrontendSettings.Builder setSelfLinkBytes(ByteString value)

Output only. [Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Parameter
Name Description
value ByteString

The bytes for selfLink to set.

Returns
Type Description
GlobalFrontendSettings.Builder

This builder for chaining.