- 2.51.0 (latest)
- 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
public static final class AuthorizeEnvironmentRequest.Builder extends GeneratedMessageV3.Builder<AuthorizeEnvironmentRequest.Builder> implements AuthorizeEnvironmentRequestOrBuilder
Request message for AuthorizeEnvironment.
Protobuf type google.cloud.shell.v1.AuthorizeEnvironmentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AuthorizeEnvironmentRequest.BuilderImplements
AuthorizeEnvironmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuthorizeEnvironmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
build()
public AuthorizeEnvironmentRequest build()
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest |
buildPartial()
public AuthorizeEnvironmentRequest buildPartial()
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest |
clear()
public AuthorizeEnvironmentRequest.Builder clear()
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
clearAccessToken()
public AuthorizeEnvironmentRequest.Builder clearAccessToken()
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()
public AuthorizeEnvironmentRequest.Builder clearExpireTime()
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)
public AuthorizeEnvironmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
clearIdToken()
public AuthorizeEnvironmentRequest.Builder clearIdToken()
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()
public AuthorizeEnvironmentRequest.Builder clearName()
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)
public AuthorizeEnvironmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
clone()
public AuthorizeEnvironmentRequest.Builder clone()
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
getAccessToken()
public String getAccessToken()
The OAuth access token that should be sent to the environment.
string access_token = 2;
Returns | |
---|---|
Type | Description |
String |
The accessToken. |
getAccessTokenBytes()
public ByteString getAccessTokenBytes()
The OAuth access token that should be sent to the environment.
string access_token = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for accessToken. |
getDefaultInstanceForType()
public AuthorizeEnvironmentRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpireTime()
public Timestamp getExpireTime()
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()
public Timestamp.Builder getExpireTimeBuilder()
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()
public TimestampOrBuilder getExpireTimeOrBuilder()
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()
public String getIdToken()
The OAuth ID token that should be sent to the environment.
string id_token = 4;
Returns | |
---|---|
Type | Description |
String |
The idToken. |
getIdTokenBytes()
public ByteString getIdTokenBytes()
The OAuth ID token that should be sent to the environment.
string id_token = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for idToken. |
getName()
public String getName()
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()
public ByteString getNameBytes()
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()
public boolean hasExpireTime()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeExpireTime(Timestamp value)
public AuthorizeEnvironmentRequest.Builder mergeExpireTime(Timestamp value)
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)
public AuthorizeEnvironmentRequest.Builder mergeFrom(AuthorizeEnvironmentRequest other)
Parameter | |
---|---|
Name | Description |
other |
AuthorizeEnvironmentRequest |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AuthorizeEnvironmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AuthorizeEnvironmentRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuthorizeEnvironmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
setAccessToken(String value)
public AuthorizeEnvironmentRequest.Builder setAccessToken(String value)
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)
public AuthorizeEnvironmentRequest.Builder setAccessTokenBytes(ByteString value)
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)
public AuthorizeEnvironmentRequest.Builder setExpireTime(Timestamp value)
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)
public AuthorizeEnvironmentRequest.Builder setExpireTime(Timestamp.Builder builderForValue)
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)
public AuthorizeEnvironmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
setIdToken(String value)
public AuthorizeEnvironmentRequest.Builder setIdToken(String value)
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)
public AuthorizeEnvironmentRequest.Builder setIdTokenBytes(ByteString value)
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)
public AuthorizeEnvironmentRequest.Builder setName(String value)
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)
public AuthorizeEnvironmentRequest.Builder setNameBytes(ByteString value)
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)
public AuthorizeEnvironmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AuthorizeEnvironmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuthorizeEnvironmentRequest.Builder |