- 2.52.0 (latest)
- 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
public static final class CloudShellErrorDetails.Builder extends GeneratedMessageV3.Builder<CloudShellErrorDetails.Builder> implements CloudShellErrorDetailsOrBuilder
Cloud-shell specific information that will be included as details in failure responses.
Protobuf type google.cloud.shell.v1.CloudShellErrorDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudShellErrorDetails.BuilderImplements
CloudShellErrorDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudShellErrorDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
build()
public CloudShellErrorDetails build()
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails |
buildPartial()
public CloudShellErrorDetails buildPartial()
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails |
clear()
public CloudShellErrorDetails.Builder clear()
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
clearCode()
public CloudShellErrorDetails.Builder clearCode()
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CloudShellErrorDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudShellErrorDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
clone()
public CloudShellErrorDetails.Builder clone()
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
getCode()
public CloudShellErrorDetails.CloudShellErrorCode getCode()
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.CloudShellErrorCode |
The code. |
getCodeValue()
public int getCodeValue()
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public CloudShellErrorDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CloudShellErrorDetails other)
public CloudShellErrorDetails.Builder mergeFrom(CloudShellErrorDetails other)
Parameter | |
---|---|
Name | Description |
other |
CloudShellErrorDetails |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudShellErrorDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CloudShellErrorDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudShellErrorDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
setCode(CloudShellErrorDetails.CloudShellErrorCode value)
public CloudShellErrorDetails.Builder setCode(CloudShellErrorDetails.CloudShellErrorCode value)
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Parameter | |
---|---|
Name | Description |
value |
CloudShellErrorDetails.CloudShellErrorCode The code to set. |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
This builder for chaining. |
setCodeValue(int value)
public CloudShellErrorDetails.Builder setCodeValue(int value)
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for code to set. |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudShellErrorDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudShellErrorDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudShellErrorDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudShellErrorDetails.Builder |