Class GetServerConfigRequest.Builder (2.86.0)

public static final class GetServerConfigRequest.Builder extends GeneratedMessage.Builder<GetServerConfigRequest.Builder> implements GetServerConfigRequestOrBuilder

Gets the current Kubernetes Engine service configuration.

Protobuf type google.container.v1beta1.GetServerConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetServerConfigRequest build()
Returns
Type Description
GetServerConfigRequest

buildPartial()

public GetServerConfigRequest buildPartial()
Returns
Type Description
GetServerConfigRequest

clear()

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

clearName()

public GetServerConfigRequest.Builder clearName()

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

clearProjectId() (deprecated)

public GetServerConfigRequest.Builder clearProjectId()

Deprecated. google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5018

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true];

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

clearZone() (deprecated)

public GetServerConfigRequest.Builder clearZone()

Deprecated. google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5024

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true];

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetServerConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetServerConfigRequest

getDescriptorForType()

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

getName()

public String getName()

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Returns
Type Description
ByteString

The bytes for name.

getProjectId() (deprecated)

public String getProjectId()

Deprecated. google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5018

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true];

Returns
Type Description
String

The projectId.

getProjectIdBytes() (deprecated)

public ByteString getProjectIdBytes()

Deprecated. google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5018

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true];

Returns
Type Description
ByteString

The bytes for projectId.

getZone() (deprecated)

public String getZone()

Deprecated. google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5024

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true];

Returns
Type Description
String

The zone.

getZoneBytes() (deprecated)

public ByteString getZoneBytes()

Deprecated. google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5024

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true];

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetServerConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetServerConfigRequest.Builder setName(String value)

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetServerConfigRequest.Builder setNameBytes(ByteString value)

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

setProjectId(String value) (deprecated)

public GetServerConfigRequest.Builder setProjectId(String value)

Deprecated. google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5018

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value) (deprecated)

public GetServerConfigRequest.Builder setProjectIdBytes(ByteString value)

Deprecated. google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5018

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

setZone(String value) (deprecated)

public GetServerConfigRequest.Builder setZone(String value)

Deprecated. google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5024

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true];

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value) (deprecated)

public GetServerConfigRequest.Builder setZoneBytes(ByteString value)

Deprecated. google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5024

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.