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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudShellErrorDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudShellErrorDetails build()
buildPartial()
public CloudShellErrorDetails buildPartial()
clear()
public CloudShellErrorDetails.Builder clear()
Overrides
clearCode()
public CloudShellErrorDetails.Builder clearCode()
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
clearField(Descriptors.FieldDescriptor field)
public CloudShellErrorDetails.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudShellErrorDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CloudShellErrorDetails.Builder clone()
Overrides
getCode()
public CloudShellErrorDetails.CloudShellErrorCode getCode()
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CloudShellErrorDetails other)
public CloudShellErrorDetails.Builder mergeFrom(CloudShellErrorDetails other)
public CloudShellErrorDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudShellErrorDetails.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudShellErrorDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CloudShellErrorDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudShellErrorDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudShellErrorDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides