Class RuntimeAccessConfig.Builder (1.11.0)

public static final class RuntimeAccessConfig.Builder extends GeneratedMessageV3.Builder<RuntimeAccessConfig.Builder> implements RuntimeAccessConfigOrBuilder

Specifies the login configuration for Runtime

Protobuf type google.cloud.notebooks.v1.RuntimeAccessConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeAccessConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

build()

public RuntimeAccessConfig build()
Returns
TypeDescription
RuntimeAccessConfig

buildPartial()

public RuntimeAccessConfig buildPartial()
Returns
TypeDescription
RuntimeAccessConfig

clear()

public RuntimeAccessConfig.Builder clear()
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

clearAccessType()

public RuntimeAccessConfig.Builder clearAccessType()

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RuntimeAccessConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeAccessConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

clearProxyUri()

public RuntimeAccessConfig.Builder clearProxyUri()

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

clearRuntimeOwner()

public RuntimeAccessConfig.Builder clearRuntimeOwner()

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

clone()

public RuntimeAccessConfig.Builder clone()
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

getAccessType()

public RuntimeAccessConfig.RuntimeAccessType getAccessType()

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Returns
TypeDescription
RuntimeAccessConfig.RuntimeAccessType

The accessType.

getAccessTypeValue()

public int getAccessTypeValue()

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for accessType.

getDefaultInstanceForType()

public RuntimeAccessConfig getDefaultInstanceForType()
Returns
TypeDescription
RuntimeAccessConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProxyUri()

public String getProxyUri()

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The proxyUri.

getProxyUriBytes()

public ByteString getProxyUriBytes()

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for proxyUri.

getRuntimeOwner()

public String getRuntimeOwner()

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Returns
TypeDescription
String

The runtimeOwner.

getRuntimeOwnerBytes()

public ByteString getRuntimeOwnerBytes()

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Returns
TypeDescription
ByteString

The bytes for runtimeOwner.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RuntimeAccessConfig other)

public RuntimeAccessConfig.Builder mergeFrom(RuntimeAccessConfig other)
Parameter
NameDescription
otherRuntimeAccessConfig
Returns
TypeDescription
RuntimeAccessConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeAccessConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RuntimeAccessConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeAccessConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

setAccessType(RuntimeAccessConfig.RuntimeAccessType value)

public RuntimeAccessConfig.Builder setAccessType(RuntimeAccessConfig.RuntimeAccessType value)

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Parameter
NameDescription
valueRuntimeAccessConfig.RuntimeAccessType

The accessType to set.

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

setAccessTypeValue(int value)

public RuntimeAccessConfig.Builder setAccessTypeValue(int value)

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for accessType to set.

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeAccessConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

setProxyUri(String value)

public RuntimeAccessConfig.Builder setProxyUri(String value)

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The proxyUri to set.

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

setProxyUriBytes(ByteString value)

public RuntimeAccessConfig.Builder setProxyUriBytes(ByteString value)

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for proxyUri to set.

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeAccessConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides

setRuntimeOwner(String value)

public RuntimeAccessConfig.Builder setRuntimeOwner(String value)

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Parameter
NameDescription
valueString

The runtimeOwner to set.

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

setRuntimeOwnerBytes(ByteString value)

public RuntimeAccessConfig.Builder setRuntimeOwnerBytes(ByteString value)

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Parameter
NameDescription
valueByteString

The bytes for runtimeOwner to set.

Returns
TypeDescription
RuntimeAccessConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeAccessConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeAccessConfig.Builder
Overrides