public static final class GetAcceleratorTypeRequest.Builder extends GeneratedMessageV3.Builder<GetAcceleratorTypeRequest.Builder> implements GetAcceleratorTypeRequestOrBuilder
Request for GetAcceleratorType.
Protobuf type google.cloud.tpu.v2alpha1.GetAcceleratorTypeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetAcceleratorTypeRequest.BuilderImplements
GetAcceleratorTypeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetAcceleratorTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetAcceleratorTypeRequest.Builder |
build()
public GetAcceleratorTypeRequest build()
Type | Description |
GetAcceleratorTypeRequest |
buildPartial()
public GetAcceleratorTypeRequest buildPartial()
Type | Description |
GetAcceleratorTypeRequest |
clear()
public GetAcceleratorTypeRequest.Builder clear()
Type | Description |
GetAcceleratorTypeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetAcceleratorTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GetAcceleratorTypeRequest.Builder |
clearName()
public GetAcceleratorTypeRequest.Builder clearName()
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
GetAcceleratorTypeRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetAcceleratorTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GetAcceleratorTypeRequest.Builder |
clone()
public GetAcceleratorTypeRequest.Builder clone()
Type | Description |
GetAcceleratorTypeRequest.Builder |
getDefaultInstanceForType()
public GetAcceleratorTypeRequest getDefaultInstanceForType()
Type | Description |
GetAcceleratorTypeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GetAcceleratorTypeRequest other)
public GetAcceleratorTypeRequest.Builder mergeFrom(GetAcceleratorTypeRequest other)
Name | Description |
other | GetAcceleratorTypeRequest |
Type | Description |
GetAcceleratorTypeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetAcceleratorTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetAcceleratorTypeRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GetAcceleratorTypeRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GetAcceleratorTypeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetAcceleratorTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetAcceleratorTypeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetAcceleratorTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetAcceleratorTypeRequest.Builder |
setName(String value)
public GetAcceleratorTypeRequest.Builder setName(String value)
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
GetAcceleratorTypeRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GetAcceleratorTypeRequest.Builder setNameBytes(ByteString value)
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
GetAcceleratorTypeRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetAcceleratorTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GetAcceleratorTypeRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetAcceleratorTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetAcceleratorTypeRequest.Builder |