Class StartEnvironmentRequest.Builder (2.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.79.0 (latest)
- 2.77.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.1.11
publicstaticfinalclass StartEnvironmentRequest.BuilderextendsGeneratedMessageV3.Builder<StartEnvironmentRequest.Builder>implementsStartEnvironmentRequestOrBuilderRequest message for StartEnvironment.
Protobuf type google.cloud.shell.v1.StartEnvironmentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StartEnvironmentRequest.BuilderImplements
StartEnvironmentRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPublicKeys(Iterable<String> values)
publicStartEnvironmentRequest.BuilderaddAllPublicKeys(Iterable<String>values)Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The publicKeys to add. |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
addPublicKeys(String value)
publicStartEnvironmentRequest.BuilderaddPublicKeys(Stringvalue)Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The publicKeys to add. |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
addPublicKeysBytes(ByteString value)
publicStartEnvironmentRequest.BuilderaddPublicKeysBytes(ByteStringvalue)Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the publicKeys to add. |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicStartEnvironmentRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
build()
publicStartEnvironmentRequestbuild()| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest |
|
buildPartial()
publicStartEnvironmentRequestbuildPartial()| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest |
|
clear()
publicStartEnvironmentRequest.Builderclear()| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
clearAccessToken()
publicStartEnvironmentRequest.BuilderclearAccessToken()The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
string access_token = 2;
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicStartEnvironmentRequest.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
clearName()
publicStartEnvironmentRequest.BuilderclearName() Name of the resource that should be started, for example
users/me/environments/default or
users/someone@example.com/environments/default.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicStartEnvironmentRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
clearPublicKeys()
publicStartEnvironmentRequest.BuilderclearPublicKeys()Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
clone()
publicStartEnvironmentRequest.Builderclone()| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
getAccessToken()
publicStringgetAccessToken()The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
string access_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The accessToken. |
getAccessTokenBytes()
publicByteStringgetAccessTokenBytes()The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
string access_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for accessToken. |
getDefaultInstanceForType()
publicStartEnvironmentRequestgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
publicStringgetName() Name of the resource that should be started, for example
users/me/environments/default or
users/someone@example.com/environments/default.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicByteStringgetNameBytes() Name of the resource that should be started, for example
users/me/environments/default or
users/someone@example.com/environments/default.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPublicKeys(int index)
publicStringgetPublicKeys(intindex)Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The publicKeys at the given index. |
getPublicKeysBytes(int index)
publicByteStringgetPublicKeysBytes(intindex)Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the publicKeys at the given index. |
getPublicKeysCount()
publicintgetPublicKeysCount()Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of publicKeys. |
getPublicKeysList()
publicProtocolStringListgetPublicKeysList()Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the publicKeys. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StartEnvironmentRequest other)
publicStartEnvironmentRequest.BuildermergeFrom(StartEnvironmentRequestother)| Parameter | |
|---|---|
| Name | Description |
other |
StartEnvironmentRequest |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicStartEnvironmentRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicStartEnvironmentRequest.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalStartEnvironmentRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
setAccessToken(String value)
publicStartEnvironmentRequest.BuildersetAccessToken(Stringvalue)The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
string access_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The accessToken to set. |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
setAccessTokenBytes(ByteString value)
publicStartEnvironmentRequest.BuildersetAccessTokenBytes(ByteStringvalue)The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
string access_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for accessToken to set. |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicStartEnvironmentRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
setName(String value)
publicStartEnvironmentRequest.BuildersetName(Stringvalue) Name of the resource that should be started, for example
users/me/environments/default or
users/someone@example.com/environments/default.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
String The name to set. |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
publicStartEnvironmentRequest.BuildersetNameBytes(ByteStringvalue) Name of the resource that should be started, for example
users/me/environments/default or
users/someone@example.com/environments/default.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
setPublicKeys(int index, String value)
publicStartEnvironmentRequest.BuildersetPublicKeys(intindex,Stringvalue)Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The publicKeys to set. |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicStartEnvironmentRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalStartEnvironmentRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
StartEnvironmentRequest.Builder |
|