Class GetImageFamilyViewRequest.Builder (1.46.0)

public static final class GetImageFamilyViewRequest.Builder extends GeneratedMessageV3.Builder<GetImageFamilyViewRequest.Builder> implements GetImageFamilyViewRequestOrBuilder

A request message for ImageFamilyViews.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetImageFamilyViewRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetImageFamilyViewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

build()

public GetImageFamilyViewRequest build()
Returns
TypeDescription
GetImageFamilyViewRequest

buildPartial()

public GetImageFamilyViewRequest buildPartial()
Returns
TypeDescription
GetImageFamilyViewRequest

clear()

public GetImageFamilyViewRequest.Builder clear()
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

clearFamily()

public GetImageFamilyViewRequest.Builder clearFamily()

Name of the image family to search for.

string family = 328751972 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GetImageFamilyViewRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetImageFamilyViewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

clearProject()

public GetImageFamilyViewRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.

clearZone()

public GetImageFamilyViewRequest.Builder clearZone()

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.

clone()

public GetImageFamilyViewRequest.Builder clone()
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

getDefaultInstanceForType()

public GetImageFamilyViewRequest getDefaultInstanceForType()
Returns
TypeDescription
GetImageFamilyViewRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFamily()

public String getFamily()

Name of the image family to search for.

string family = 328751972 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The family.

getFamilyBytes()

public ByteString getFamilyBytes()

Name of the image family to search for.

string family = 328751972 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for family.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for project.

getZone()

public String getZone()

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetImageFamilyViewRequest other)

public GetImageFamilyViewRequest.Builder mergeFrom(GetImageFamilyViewRequest other)
Parameter
NameDescription
otherGetImageFamilyViewRequest
Returns
TypeDescription
GetImageFamilyViewRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetImageFamilyViewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetImageFamilyViewRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetImageFamilyViewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

setFamily(String value)

public GetImageFamilyViewRequest.Builder setFamily(String value)

Name of the image family to search for.

string family = 328751972 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The family to set.

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.

setFamilyBytes(ByteString value)

public GetImageFamilyViewRequest.Builder setFamilyBytes(ByteString value)

Name of the image family to search for.

string family = 328751972 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for family to set.

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GetImageFamilyViewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

setProject(String value)

public GetImageFamilyViewRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetImageFamilyViewRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetImageFamilyViewRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetImageFamilyViewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetImageFamilyViewRequest.Builder
Overrides

setZone(String value)

public GetImageFamilyViewRequest.Builder setZone(String value)

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The zone to set.

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public GetImageFamilyViewRequest.Builder setZoneBytes(ByteString value)

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
GetImageFamilyViewRequest.Builder

This builder for chaining.