Class AuthorizeEnvironmentRequest.Builder (2.69.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 AuthorizeEnvironmentRequest.BuilderextendsGeneratedMessageV3.Builder<AuthorizeEnvironmentRequest.Builder>implementsAuthorizeEnvironmentRequestOrBuilderRequest message for AuthorizeEnvironment.
Protobuf type google.cloud.shell.v1.AuthorizeEnvironmentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AuthorizeEnvironmentRequest.BuilderImplements
AuthorizeEnvironmentRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAuthorizeEnvironmentRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
build()
publicAuthorizeEnvironmentRequestbuild()| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest |
|
buildPartial()
publicAuthorizeEnvironmentRequestbuildPartial()| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest |
|
clear()
publicAuthorizeEnvironmentRequest.Builderclear()| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
clearAccessToken()
publicAuthorizeEnvironmentRequest.BuilderclearAccessToken()The OAuth access token that should be sent to the environment.
string access_token = 2;
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
clearExpireTime()
publicAuthorizeEnvironmentRequest.BuilderclearExpireTime()The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicAuthorizeEnvironmentRequest.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
clearIdToken()
publicAuthorizeEnvironmentRequest.BuilderclearIdToken()The OAuth ID token that should be sent to the environment.
string id_token = 4;
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
clearName()
publicAuthorizeEnvironmentRequest.BuilderclearName() Name of the resource that should receive the credentials, for example
users/me/environments/default or
users/someone@example.com/environments/default.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicAuthorizeEnvironmentRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
clone()
publicAuthorizeEnvironmentRequest.Builderclone()| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
getAccessToken()
publicStringgetAccessToken()The OAuth access token that should be sent to the environment.
string access_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The accessToken. |
getAccessTokenBytes()
publicByteStringgetAccessTokenBytes()The OAuth access token that should be sent to the environment.
string access_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for accessToken. |
getDefaultInstanceForType()
publicAuthorizeEnvironmentRequestgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpireTime()
publicTimestampgetExpireTime()The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
publicTimestamp.BuildergetExpireTimeBuilder()The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExpireTimeOrBuilder()
publicTimestampOrBuildergetExpireTimeOrBuilder()The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getIdToken()
publicStringgetIdToken()The OAuth ID token that should be sent to the environment.
string id_token = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The idToken. |
getIdTokenBytes()
publicByteStringgetIdTokenBytes()The OAuth ID token that should be sent to the environment.
string id_token = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for idToken. |
getName()
publicStringgetName() Name of the resource that should receive the credentials, 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 receive the credentials, for example
users/me/environments/default or
users/someone@example.com/environments/default.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasExpireTime()
publicbooleanhasExpireTime()The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExpireTime(Timestamp value)
publicAuthorizeEnvironmentRequest.BuildermergeExpireTime(Timestampvalue)The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
mergeFrom(AuthorizeEnvironmentRequest other)
publicAuthorizeEnvironmentRequest.BuildermergeFrom(AuthorizeEnvironmentRequestother)| Parameter | |
|---|---|
| Name | Description |
other |
AuthorizeEnvironmentRequest |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicAuthorizeEnvironmentRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicAuthorizeEnvironmentRequest.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAuthorizeEnvironmentRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
setAccessToken(String value)
publicAuthorizeEnvironmentRequest.BuildersetAccessToken(Stringvalue)The OAuth access token that should be sent to the environment.
string access_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The accessToken to set. |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
setAccessTokenBytes(ByteString value)
publicAuthorizeEnvironmentRequest.BuildersetAccessTokenBytes(ByteStringvalue)The OAuth access token that should be sent to the environment.
string access_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for accessToken to set. |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
setExpireTime(Timestamp value)
publicAuthorizeEnvironmentRequest.BuildersetExpireTime(Timestampvalue)The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
setExpireTime(Timestamp.Builder builderForValue)
publicAuthorizeEnvironmentRequest.BuildersetExpireTime(Timestamp.BuilderbuilderForValue)The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicAuthorizeEnvironmentRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
setIdToken(String value)
publicAuthorizeEnvironmentRequest.BuildersetIdToken(Stringvalue)The OAuth ID token that should be sent to the environment.
string id_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
String The idToken to set. |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
setIdTokenBytes(ByteString value)
publicAuthorizeEnvironmentRequest.BuildersetIdTokenBytes(ByteStringvalue)The OAuth ID token that should be sent to the environment.
string id_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for idToken to set. |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
setName(String value)
publicAuthorizeEnvironmentRequest.BuildersetName(Stringvalue) Name of the resource that should receive the credentials, 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 |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
publicAuthorizeEnvironmentRequest.BuildersetNameBytes(ByteStringvalue) Name of the resource that should receive the credentials, 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 |
AuthorizeEnvironmentRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAuthorizeEnvironmentRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAuthorizeEnvironmentRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AuthorizeEnvironmentRequest.Builder |
|