Class GetImageFamilyViewRequest.Builder (1.55.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetImageFamilyViewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetImageFamilyViewRequest.Builder
Overrides

build()

public GetImageFamilyViewRequest build()
Returns
Type Description
GetImageFamilyViewRequest

buildPartial()

public GetImageFamilyViewRequest buildPartial()
Returns
Type Description
GetImageFamilyViewRequest

clear()

public GetImageFamilyViewRequest.Builder clear()
Returns
Type Description
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
Type Description
GetImageFamilyViewRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GetImageFamilyViewRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetImageFamilyViewRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetImageFamilyViewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetImageFamilyViewRequest.Builder
Overrides

clearProject()

public GetImageFamilyViewRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
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
Type Description
GetImageFamilyViewRequest.Builder

This builder for chaining.

clone()

public GetImageFamilyViewRequest.Builder clone()
Returns
Type Description
GetImageFamilyViewRequest.Builder
Overrides

getDefaultInstanceForType()

public GetImageFamilyViewRequest getDefaultInstanceForType()
Returns
Type Description
GetImageFamilyViewRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFamily()

public String getFamily()

Name of the image family to search for.

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

Returns
Type Description
String

The family.

getFamilyBytes()

public ByteString getFamilyBytes()

Name of the image family to search for.

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

Returns
Type Description
ByteString

The bytes for family.

getProject()

public String getProject()

Project ID for this request.

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

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
Type Description
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
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The name of the zone for this request.

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

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetImageFamilyViewRequest other)

public GetImageFamilyViewRequest.Builder mergeFrom(GetImageFamilyViewRequest other)
Parameter
Name Description
other GetImageFamilyViewRequest
Returns
Type Description
GetImageFamilyViewRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetImageFamilyViewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetImageFamilyViewRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetImageFamilyViewRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetImageFamilyViewRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetImageFamilyViewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The family to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for family to set.

Returns
Type Description
GetImageFamilyViewRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GetImageFamilyViewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The project to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetImageFamilyViewRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetImageFamilyViewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The zone to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
GetImageFamilyViewRequest.Builder

This builder for chaining.